It’s the small things but I now have a blinking light on my ET-STM32 Stamp board. This was done using:
- CodeSourcery 2009q1 GCC release
- The Python based stm32loader
- The blinking light demo from lanchon (includes startup code and linker scripts)
The nice thing is that it is a very low-tech solution. The Stamp gives a DIP pin out which is hooked into a breadboard. Programming is done using the built-in UART bootloader. No JTAG, SMD, or tiny pins.
The FTDI latency timer showed its head again. FTDI chips bulk up transmit and receive data to try and reduce the USB bus load. This is fine for streaming protocols but not for synchronous ones like the programmer. Leaving the latency timer at the default 16 ms took 39 s to erase, write, and verify 66128 bytes. Setting it to 1 brought this down to 23 s.
On Linux, try:
echo 1 > /sys/class/tty/ttyUSB0/device/latency_timer