Search found 101 matches

by chrismas9
Sun Jul 08, 2018 4:32 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 888

Re: Host pushing JSON config file to Pyboard

On further reading of data sheet and littlefs DESIGN.md the 128 kB block erase size of the NAND flash may be a problem. I believe most of the negative comments apply to large scale flash with 300 - 10,000 cycle endurance. If you want to use SPI NOR flash use the largest affordable part and wear leve...
by chrismas9
Sun Jul 08, 2018 1:59 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 888

Re: Host pushing JSON config file to Pyboard

Embedded flash chips with wear levelling are called eMMC memory. They are over $US10 at Digi-Key. Beagle bone uses eMMC. Alternatively you could use an SPI NAND flash chip such as Winbond W25N01GVZEIG $4 100+ at Digi-Key with a wear levelling file system. Damien is porting littlefs from mbed. See #3...
by chrismas9
Thu Jul 05, 2018 4:42 pm
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 888

Re: Host pushing JSON config file to Pyboard

If you are going to write files at high frequency (you say up to 10 per second) I strongly suggest using an SD card on the Pyboard. The STM32 flash does not have wear levelling. The largest SD card will have the longest life due to there between more sectors to share the writes. There are warnings o...
by chrismas9
Sun May 13, 2018 3:56 pm
Forum: General Discussion and Questions
Topic: USB MSC mass storage mode as devel tool
Replies: 5
Views: 545

Re: USB MSC mass storage mode as devel tool

I have not had problems copying source files to Pyboard as long as you allow a short delay after a write before a hard or soft reset. The red LED comes on during write from host. Wait for it to go out before doing anything else. What will corrupt the drive is allowing writes from Micropython while c...
by chrismas9
Sun May 13, 2018 3:38 pm
Forum: General Discussion and Questions
Topic: adhesive/insulation for electronics in soil
Replies: 8
Views: 756

Re: adhesive/insulation for electronics in soil

What about silicone roof and gutter sealer? There are many brands that are approved for potable (drinking) water. You could put the electronics in a small food grade plastic container with holes in it, then completely fill it with silicone. Make sure the wires penetrate into the silicone a good dist...
by chrismas9
Thu May 03, 2018 12:32 am
Forum: MicroPython pyboard
Topic: Unable to save main.py with Windows 10 OS
Replies: 2
Views: 343

Re: Unable to save main.py with Windows 10 OS

I have no trouble with Windows 10. Are you on a company domain with IT department policies enforced. I found a site where write to USB was blocked to prevent IP theft.

Does write to a thumb drive work?
by chrismas9
Fri Apr 06, 2018 9:38 am
Forum: MicroPython pyboard
Topic: My pyboard is dead
Replies: 6
Views: 618

Re: My pyboard is dead

A 300mV drop is most likely a semiconductor failure. One way to identify the faulty device is to look for the point of lowest voltage drop. Measure the drop across every bypass cap and IC from GND to 3V3 with your power supply connected at the power pins. Say it is 300mV at the supply pins, 295 nV a...
by chrismas9
Sat Mar 10, 2018 12:43 pm
Forum: MicroPython pyboard
Topic: Recommended C IDE for pyboard build/debug?
Replies: 2
Views: 628

Re: Recommended C IDE for pyboard build/debug?

We use Eclipse and gdb for STM32 C debugging. I prefer Atollic TrueStudio which combines Eclipse and gdb with their own gdb server for ST-LINK and Segger J-link. It has better MCU coverage than the open source server and everything installs and works out of the box. ST now own Atollic and it's free ...
by chrismas9
Sun Feb 11, 2018 9:47 pm
Forum: Other Boards
Topic: Compiling MicroPyton with IAR & Keil c compiler
Replies: 17
Views: 4381

Re: Compiling MicroPyton with IAR & Keil c compiler

UV100, you didn't state your reason for wanting to use IAR or Keil. Is it 1) you have existing C projects you want to integrate with MicroPython, 2) you already own IAR and Keil, 3) you want an IDE with editor, compiler analysis tools and debugger. You may find it easier to build MicroPython with At...
by chrismas9
Sun Feb 11, 2018 2:00 pm
Forum: Other Boards
Topic: Compiling MicroPyton with IAR & Keil c compiler
Replies: 17
Views: 4381

Re: Compiling MicroPyton with IAR & Keil c compiler

I have been building STM32 ports easily and successfully with Atollic True Studio lite on Windows 7 & 10 for some time. It is easy to import an existing makefile project. You need to install MSYS2 for the gnu utilities and set the cross compiler to CROSS_COMPILE = arm-atollic-eabi- in the build targ...