Jump to User Program - not working on ChibiOs
Posted: Wed Oct 09, 2013 10:28 pm
Hi All,
I'm 100% new to embedded microcontrollers, so please be gentle.
I've setup a toolchain, modified a board file, compiled a simple blinky application which toggles 2 leds every 1/2 second and flashed it to a chinese ebay hy-stm32_100p board.
This was done using the STM Flash Loader Demo - which appears to be about the only flasher that seems to work.
As boot settings are on jumpers on the board and i'm programming over UART, manually swapping the jumper is a nightmare. So I tried using the 'jump to user program' option on the flasher. For ChibiOS code, it doesn't appear to run unless you reset the boot jumpers and reset the board.
For other demo samples from outside of ChibiOs, the code executes automatically and all is good.
So - any ideas ?
I'm 100% new to embedded microcontrollers, so please be gentle.
I've setup a toolchain, modified a board file, compiled a simple blinky application which toggles 2 leds every 1/2 second and flashed it to a chinese ebay hy-stm32_100p board.
This was done using the STM Flash Loader Demo - which appears to be about the only flasher that seems to work.
As boot settings are on jumpers on the board and i'm programming over UART, manually swapping the jumper is a nightmare. So I tried using the 'jump to user program' option on the flasher. For ChibiOS code, it doesn't appear to run unless you reset the boot jumpers and reset the board.
For other demo samples from outside of ChibiOs, the code executes automatically and all is good.
So - any ideas ?