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.

g2553 address space between 03ffh and 1000h

Hi all, I read through the MSP430g2x53 datasheet, only finding that for g2553, there are 512 bytes of RAM locating from 0x0200 to 0x03ff, and the next segment is infomation mem (which is flash) from 0x1000. I'm quite curious what's in between?

  • Then what are the bytes (they are basically 00 but some of them are 3f on start) I'm reading out from the debugger at that region?

  • There is a 2k area with the BSL code (bootstrap loader). Most G2 series devices don’t have one, but the G2553 does. It’s ROM and IIRC is protected against reading, but protection is initially of until the boot code has completed and calls the ‘reset vector’ to start the application.
    Also, the flash controller returns 0x3fff for all memory ranges that are mapped to it but do not contain flash. (many MSPs come with different flash and ram sized while being fully identical otherwise)
    And there’s the boot code too somewhere in the address space. Probably in the 3d kb of the gap. It’s nothing to care about, so I never bothered to dig deeper into this.

  • Will Cui said:
    Then what are the bytes (they are basically 00 but some of them are 3f on start) I'm reading out from the debugger at that region?

    Well, they are undefined. They certainly can't be "nothing". Reading from unmapped addresses (in the general sense - applicable to almost any processor) with the debugger will return whatever "garbage" is on the bus. Could be data from a previous bus transaction, all 0's or all F's, or anything in between,

**Attention** This is a public forum