cancel
Showing results for 
Search instead for 
Did you mean: 

Re-program Product

zamzoni
Associate II
Posted on January 25, 2013 at 06:39

Dear All,

I bought any product that contained STM32F103C8T6 48-pin mcu. I try to re-program it with my own hex file using Flash Loader Demonstrator and it can be wrote and verified correctly but the application can not run after i reset the device with Boot0 in low level. What i've been missing? From the board, I found boot1 is No Connection and NRST is pulled-up to 3V3.

Thanks in advance.
5 REPLIES 5
Posted on January 25, 2013 at 13:56

That code compiles and links is no guarantee it's actually valid or usable. Suggest you debug it.

For example if you code expects to enable HSE and waits for it to start you will have big problems if the board does not have an external crystal attached.

You'll need to be much more detailed about the board and your code if you want others to debug the issue remotely.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 25, 2013 at 14:05

''I bought any product that contained STM32F103C8T6 48-pin mcu''

 

Clearly, you can't just take any  arbitrary product and drop-in any  arbitrary code and expect it to ''just work''!!

zamzoni
Associate II
Posted on January 25, 2013 at 14:57

Thanks for the reply sir,

Sorry sir, I don't have Debugger Tools yet. I have tested with simple test program, blink GPIO with any delay combination and also timer. I also make receive serial data and send it back (echo). but nothing's happened. I found most GPIOs in floating condition (maybe, i'm not sure if floating) with voltage between 1.7 - 2.4 V.

Should i connect BOOT1 to ground to make sure boot selection to main flash? And what will happen if with this floating BOOT1 accessed by Flash Loader Demonstator? because programming and verifying are success.

Thank you very much, sir.
zamzoni
Associate II
Posted on January 25, 2013 at 15:17

About the board, i usually use it for general application and now, i want to modify it to custom purpose. All GPIO is used as output and it connected to HC245 that this HC245 is always used as single direction since his direction pin is connected to VCC. This board uses 8 MHz crystal, RTC with 32.768 KHz crystal and external EEPROM.

Posted on January 25, 2013 at 16:38

The state of BOOT1 doesn't make an issue for programming, just make sure it's default is such that the choice between RAM/FLASH execution is clear.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..