We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hallo. I have a problem and need your help.
I use mcbstr9 and Keil 310.
I remade ST IAP driver for KEIL. There is a bootloader ( bootloader is in flash bank1 and the main programm in flash bank0. When a definite event doesn't occur ( Z/B an interrupt by pressing a button on the board) the main pogram runs, else you see a menu in hyperterminal and you can download new main Program). But it is a problem with this driver. When I press reset button controller buzzs.
I think it is so, because when reset occurs not all registers are set to their reset value, videlicet FMI and some SCU registers. That's mean that controller loads from small flash (bank1), but doesn't find a 0x0000 addr here!
Did anybody solve this problem? /* I need a reset button in my Program. I would thank you very much, if somebody could help me.
Are you do bank switch? What is your boot bank?
Yes. I made bank switch by the instrumentality of JTAG (Keil's ULINK can do it). I set CSX in one.
In this case bootloader should not remap banks back before start application or reset button (and watchdog reset) will not work. You probably already see it on ST forum.