This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

freeRTOS iRom and iRAM settings with S130?

Hello,I'm porting a freeRTOS project to nrf51822 QFAA with 256k flash and 16k ram. I want to use s130 2.0 sd.

Previously this project was done with s110 sd and everything seemed functional. Now after migrating to s130, the program won't even run.

I know where to look to figure out the iROM and iRAM settings respectively if no RTOS were involved, not quite so when RTOS is present. I suspected it was

the same with conventional application, so I tried this post  yet it produced a result where the program didn't even start. The iRAM I used was

  • IRAM base - 0x20001870

  • IRAM size(16 kB RAM) - 0x6000 (enlarged or the entire project won't even compile)

And iROM:

  • IROM base - 0x1B000

  • IROM size(256 kB Flash) - 0x25000

The working setting (but with S110) is :

  • IRAM1 base - 0x20002000

  • IRAM size(16 kB RAM) - 0x6000

And iROM:

  • IROM base - 0x18000

  • IROM size(256 kB Flash) - 0x28000

What should I do?? And here is a catch, after I successfully integrate it with S130, I'lll need to do OTA DFU as well, I have one

instance of settings running great on my current nrf51822 platform, but it was tested without the RTOS part. I don't suppose there will be further complications when incorporating freeRTOS + bootloader +S130? Based on my understanding bootloader is simply another sort of application and it will not conflict with user app because they shouldn't be running at the same time.

So recap, my questions:

1. What should I do with the S130 iROM iRAM settings, when dealing with freeRTOS?

2. I have a working BLE secure OTA bootloader and I'm planning on fusing it with the above 2 (freeRTOS + S130), anything I should look out for?

Parents Reply Children
No Data
Related