Closed spriggsy closed 6 years ago
Update,
Ive changed Boards.txt to include the following two lines
Generic_nRF51822.menu.chip.xxab=16 kB RAM, 128 kB flash (xxab) Generic_nRF51822.menu.chip.xxab.build.chip=xxab
this adds the menu item to select a new option. and tells the compiler to use the new chip. I have changed the linker file(amgcc_s110_nrf51822_xxab.ld) contents to what i believe are the correct memory maps
MEMORY { FLASH (rx) : ORIGIN = 0x18000, LENGTH = 0x8000 RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x2000 }
however the errors remain.
Am I on the right path here???
Spriggsy
Managed to fix this by changing the boards.txt to include the new board as in the comment above.
the linker file has this map for the memory.
MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x20000 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000 }
I'm now getting serial out working correctly.
Cheers Spriggsy.
Im currently reprogramming a prebuilt beacon using your excellent arduino core. many thanks for your help so far.
The chip that I'm using only has 128Kb of flash. everything loads and works fine using SD110 until I try using Serial.print. It then fails on the upload. heres the output:
this then continues to all the way up to:
I'm hoping that this is an easy fix that i suspect is to do with only having half the needed Flash size?
Any help appreciated Many thanks Spriggsy