Hello,
I'm having an error with the 832, specifically I'm just trying to port code over from an 833 project. I can compile no problem, but when I go to write I get
ERROR: The file specified is not a valid hex file, has data outside valid areas
ERROR: or does not have data in valid areas.
This is where I'm confused.
I used the nrf online hex tool to check my ranges and this is what they showed up:
0x00026000
0x00050384
And according to the linker script file:
* This file is intended for nrf52832_xxAA with the s132_7.2.0 SoftDevice.
*/
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
/* MBR_FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00001000 */
/* SOFTDEVICE_FLASH (rx) : ORIGIN = 0x00001000, LENGTH = 0x00025000 */
FLASH (rx) : ORIGIN = 0x00026000, LENGTH = 0x00051000
RAM (rwx) : ORIGIN = 0x20002df0, LENGTH = 0x0000cf10
/* BOOTLOADER_FLASH (rx) : ORIGIN 0x00078000, LENGTH = 0x00006000 */
}
*/
SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)
MEMORY
{
/* MBR_FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00001000 */
/* SOFTDEVICE_FLASH (rx) : ORIGIN = 0x00001000, LENGTH = 0x00025000 */
FLASH (rx) : ORIGIN = 0x00026000, LENGTH = 0x00051000
RAM (rwx) : ORIGIN = 0x20002df0, LENGTH = 0x0000cf10
/* BOOTLOADER_FLASH (rx) : ORIGIN 0x00078000, LENGTH = 0x00006000 */
}
It looks right. Is the linker script not correct?
I'm using NRF SDK Mesh 5.0