CAN interface does not work with code stored in Flash memory

Hello
I have written a simple program to receive CAN messages using the CAN1 interface. If I burn the monitor in Flash and I run the program, it works, but if I burn the program in Flash, it doesn't work. Does anybody know why?
I have tested the Start167.asm file and I think all is correct. The variables are correctly put in the memory.
Can anybody help me?
Thank you

Parents
  • Hello Beatriz,
    can you give us more informations?
    What microcontroller?
    Internal or external Flash?
    What do you mean "it doesnt work"?
    Does your program work into the simulator?
    Take a better look at your Monitor inizialization, maybe the Monitor initializes something in a different way than your startup file.
    Ciao Bruno

Reply
  • Hello Beatriz,
    can you give us more informations?
    What microcontroller?
    Internal or external Flash?
    What do you mean "it doesnt work"?
    Does your program work into the simulator?
    Take a better look at your Monitor inizialization, maybe the Monitor initializes something in a different way than your startup file.
    Ciao Bruno

Children
More questions in this forum