Embedded studio const at Specified address unable to download

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Embedded studio const at Specified address unable to download

      I defined some constants in the specified area of flash,And can be successfully defined to the specified flash area,But when I downloaded and debugged, there was a phenomenon that flash could not be downloaded。
      const volatile uint16_t Filter_parameter [512] __attribute __((section(“ FLASH_PAGE_1”)))= {200,4,250,4,0,10,3,0,0,0,0,0,0,0,0,0,150, 4,250,4,0,0,0,0,0,0,0,0,0,0,0,0};

      <!DOCTYPE Board_Memory_Definition_File>
      <root name =“ MM32L062NT”>
      <MemorySegment name =“ EEPROM1” start =“ 0x08006000” size =“ 0x00000400” access =“ ReadOnly” />
      <MemorySegment name =“ FLASH” start =“ 0x08000000” size =“ 0x00010000” access =“ ReadOnly” />
      <MemorySegment name =“ RAM” start =“ 0x20000000” size =“ 0x00004000” access =“Read/Write” />
      </ root>
      <MemorySegment name="EEPROM1" >
      <ProgramSection name="FLASH_PAGE_1" load="Yes" />

      But when I define constant data as follows, the debug download is normal。
      const volatile uint16_t Filter_parameter [512] __attribute __((section(“.rodata”)))= {200,4,250,4,0,10,3,0,0,0,0,0,0,0,0,0,150, 4,250,4,0,0,0,0,0,0,0,0,0,0,0,0};
      Is there a problem with the method I use?THKS
    • Hello,

      Thank you for your inquiry.
      You registered with a J-Link EDU but are using a company email address. Please note that the J-Link EDU may not be used in any commercial context as this would be a license violation and illegal.
      Could you clarify your situation here, why are you using the EDU model?
      Could you name your Embedded Studio license number for reference?

      According to the user manual for the MM32L062NT there is no EEPROM at 0x08006000. Could you clarify which manual for this device you are referencing?

      Generally your method looks correct.

      Best regards,

      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.