This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I'm trying to upgrade the FW using the default BSL via USB.
Each time I invoke the BSL by jump to 0x1000 I get reset due to Security violation (BOR).
I'm sure that it's a SW issue because when using the C1_LedOnOff demo it works good.
Any reason why invoking BLS will result reset?
Thanks,
Itay
Solved.
I had to disable the Oscillator fault interrupt.
Just added SFRIE1 &= ~OFIE; before invoking the BSL routine (((void (*)())0x1000)();)
Hi Itay,
Glad you were able to solve your issue. Usually we disable all interrupts before going to the memory address. Here's a screenshot of the section in the BSL User's Guide.
Well, I tried that first but it didn't work (__disable_interrupt(); before invoking the BSL).
Not sure why.
Thanks anyway.
**Attention** This is a public forum