Hi,
Here's what I'm trying to do-
1. Load hex file of bootloader as is (taken from http://www.microchip.com/wwwAppN...)
2. Use example project of NVM as an application.
3. Load the .bin file of application code at 0x2000.
Now, the problem is why NVM is writing starting from address 0x00000000 and also giving one value to whole page. Please check attachment.
NOTE- I have tried
1. Insert command -Wl,--section-start=.text=0x2000 in Toolchain
2. In samd21j18a_flash.ld, change rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000 to rom (rx) : ORIGIN = 0x00002000, LENGTH = 0x00040000