Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1830 MCS51 spaces in program memory should be filled with 0x00

2 posters

Go down  Message [Page 1 of 1]

royqh1979



Now spaces in the program memory of all MCUs, including mcs51, are filled with 0xFF.

But mcs51 should use 0x00(NOP) to fill them.

See:

https://developer.arm.com/documentation/101655/0961/8051-Instruction-Set-Manual/Instructions/NOP

"NOP is typically used to generate a delay in execution or to ***reserve space in code memory****."

arcachofo

arcachofo

Now spaces in the program memory of all MCUs, including mcs51, are filled with 0xFF.
As far as I know most non volatile memories have bit value = 1 when erased.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum