2014-11-11 05:15 AM
Hi,
I have created a binary of STM32f429 demostration application code by using IAR workbech. Program the firmware upgrade code in to the discovery board by Jlink debuger. I tried to upload the binary file through the USB key, but its not working. But i wonder, the example binary file ''STM32F429I-Discovery_LTDC_ColorKeying_0x08020000.bin'' working fine. Why the IAR workbench created bin file is not working? How to create a compatible bin file for this discovery board?The binary file size of demo application is 999 Kb. Is there any code size limit in the firmware upgrade program? #rewrite #stm32f4 #usb #eeprom #discovery #flash #stm32f #st-link/v2-stm32f4discovery2014-11-20 06:58 AM
2014-11-20 07:02 AM
2014-11-20 04:03 PM
Debuggers tend to enable clocks, and peripherals the need to use. Change DBGMCU settings, and touch peripherals in non-transparent ways. At reset they can delay and redirect execution, so issues with clocks or PLL timing out might be missed.
Your issues are perhaps more mundane, with hardware or interrupts left hanging as you transition to the application. Or execution occurring so quickly it doesn't see you pressing the button. Your options here are to provide progress information via the USART or GPIOs, step through transition code, not allowing the debugger to ''run to main'', and breakpointing things. Look hard at what your BSP init code is doing, if you really need to use interrupts for the USART, etc.