Zolertia / contiki

Zolertia's Contiki repository
http://www.contiki-os.org/
Other
2 stars 4 forks source link

Error in flashing when the CC1200_CONF_MAX_PAYLOAD_LEN is large enough #24

Open nkaramolegos opened 5 years ago

nkaramolegos commented 5 years ago

Hello everyone, I am using the zolertia remote revb with the CC1200 rf module. When I have the following configuration on my project-conf.h:

I have the following error /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: udp_test.elf section .bss' will not fit in regionFRSRAM'

On the other hand when I set CC1200_CONF_MAX_PAYLOAD_LEN to 1000 or 1023 it is ok. Any ideas? I think that the problem is not on the code but on flashing

Zolertia commented 5 years ago

Hi Nikos, I think that the RAM is overflowed with 1500. It's too huge for the system.

Best regards,

Missatge de Nikos Karamolegkos notifications@github.com del dia dv., 2 de nov. 2018 a les 19:58:

Hello everyone, I am using the zolertia remote revb with the CC1200 rf module. When I have the following configuration on my project-conf.h:

  • ...

    define CC1200_CONF_USE_GPIO2 1

  • define CC1200_CONF_802154G 1

  • define CC1200_CONF_MAX_PAYLOAD_LEN 1500

  • ... etc

I have the following error /usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: udp_test.elf section .bss' will not fit in region FRSRAM'

On the other hand when I set CC1200_CONF_MAX_PAYLOAD_LEN to 1000 or 1023 it is ok. Any ideas? I think that the problem is not on the code but on flashing

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuAeMQqGUydoLxpLia_xJ3vASleIWks5urJXjgaJpZM4YMGAa .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo

nkaramolegos commented 5 years ago

But in 802.15.4g the maximum payload size is 2047. How can I achieve it if the ram is not enough? Also, is there a way to decrease ram memory usage?

Zolertia commented 5 years ago

Hi Nikos, It' seems that this problem is completely firmware. We support only hardware issues and our drivers implementation. You can ask for the implementation of the 802.15.4 to contiki devel repo at: https://github.com/contiki-os/contiki/issues

Best Regards,

Missatge de Nikos Karamolegkos notifications@github.com del dia dl., 5 de nov. 2018 a les 19:41:

But in 802.15.4g the maximum payload size is 2047. How can I achieve it if the ram is not enough? Also, is there a way to decrease ram memory usage?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zolertia/contiki/issues/24#issuecomment-435986939, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJIuBxjBnTcPYuPd_X7HI1WxcEVsjtJks5usIZxgaJpZM4YMGAa .

--

Aitor Mejias Sotorra

amejias@zolertia.com

[image: header-logo.png]

Infinitive hardware for IoT

….

Website: zolertia.io / Twitter: @zolertia https://twitter.com/zolertia / Linkedin: zolertia https://www.linkedin.com/company/zolertia?trk=company_logo