Hello, Micon used - ST10f280 Mode of operation - BSL Question 1-> In user manual for ST10F280, it is written "While operating in BSL mode accesses to internal Flash is partly redirected". Is it talking about Flash Write only? Will I be able to write into Flash while being in BSL mode? Question 2-> I think we can't use interrupt during BSL mode. Will anyone give me any comment on this? Thanks Rashmi
Hi Mike, Thanks for the information. Again I have some issues reagrding the interrupt now. I guess, the vector table is located in Flash memory location. First time when the chip is used, and when something has to be downloaded to the chip using BSL functionality, flash is empty. At this time, I can only be using the polling method for ASC0. So the 32 byte primary boot loader can only use polling method. Am I wrong somewhere? Thanks again Rashmi
Hi Rashmi, Yes, that's correct. The only way to use interrupts in BSL mode is to remap segment 0 using the ROMS1 bit of SYSCON. That would require that you had external memory connected to the external bus which would contain the interrupt vector table. The other way to use interrupts is to leave the BSL mode via software reset, but again since there is no proper vector table in the flash memory, there would have to be external memory containg the interrupt vector table. So if there is no external RAM, you can't use interrupts. - mike