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

How to make application for a 128kb QFAB chip

Hi again!

Thank you for all your answers this community is great! :-)

I am trying to develop a small app to be flashed on QFAB chips but I am facing a memory size problem.

If I am not wrong those QFAB chips have 128kb of flash memory available. The S130 SoftDevice already uses 112kb of this memory so only 16kb memory is left for the application.

I am developping on mbed and if I make a simple led blink program the code takes approximately 12kb so it works. But if I try to make a simple ble program with just an advertising tag it takes more than 30kb so it cannot be entirely flashed on the chip.

So my question is how can we developp ble application on the QFAB chips? Is there a way to make smaller application (without mbed maybe) or is it mandatory not to use softdevice or a smaller one?

Thanks!

Parents
  • What you can do is use S110 v8 SoftDevice (if you use only peripheral functionality). It is 96k size, so you can fit some more of your code :) Also when writing app avoid using nordic drivers (for peripherals) when you are size limited. some of them have quite big size overhead, which is not necessary... Also i found some of the modules (like ble_advertisement) useless for development - I try to avoid them when creating app, because of the size... It is not easy to keep in <32k Keil limit.

Reply
  • What you can do is use S110 v8 SoftDevice (if you use only peripheral functionality). It is 96k size, so you can fit some more of your code :) Also when writing app avoid using nordic drivers (for peripherals) when you are size limited. some of them have quite big size overhead, which is not necessary... Also i found some of the modules (like ble_advertisement) useless for development - I try to avoid them when creating app, because of the size... It is not easy to keep in <32k Keil limit.

Children
No Data
Related