New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2Mb #201
Comments
i have the same issue with UBLOX NINA-W102... i am trying to find a solution |
Wow, good! Kostas
I did all that is possible...after try 30 times with different configurations i aborted!
Let me see if you get success
Enviado do meu iPhone
Em 3 de mai de 2019, às 09:55, Kostas Sigalas <notifications@github.com<mailto:notifications@github.com>> escreveu:
i have the same issue with UBLOX NINA-W102... i am trying to find a solution
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#201 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ACXUZTHZ4V4WK2S4MRWPNO3PTQY4ZANCNFSM4HJ2UZCA>.
|
Kostas, did you get progress ? |
no success till now... i am trying to get rid of the OTA partitions to make room for the at_firmware but i get messages about overlaping addresses when running make flash command |
Hi, i am having the same messages, the overlapping address! |
I was able to get this working. Here’s a summary of what I did, let me know if this helps 😄 I used the Arduino MKR WiFi 1010 and wanted to replace the default nina-fw with the esp32-at firmware.
I figured most of this out from trial and error. http://bbs.esp32.com/viewtopic.php?t=8821 was also really helpful, it pointed me towards disabling hardware flow control (just setting the pins to -1 isn’t enough). Good luck! |
Hello! Thanks for the response, if i enable BLE i get the same message A fatal error occurred: File /home/kostas/esp32-at/build/esp-at.bin (length 1528656) at offset 1048576 will not fit in 2097152 bytes of flash. Use --flash-size argument, or change flashing address. any idea if there could be a fix for this? |
You could try swapping the compiler optimisation level to release:
That might generate a smaller binary. If that isn’t enough I’d try reducing the size of the partitions in |
Hello Duncan, Thanks too to try to reach the solution to memory size problem! I agree, but, look if really dropped in your side the BLE AT commands! Otherwise, i will compile again using your instructions, ok ? Thank you again! It´s not easy! |
I already tried to reduce the Partition but something still wrong! |
That’s correct, I’m not compiling with BLE support as I don’t need it.
Can you post your partitions_at and at_customize partitions map? What error do you get when building your project? |
just changed the error is size is bigger that flash how was reported... Can you test there ? When you have time! Maybe reduce the value 0xE0000 - 256K ? |
i lost more 2 hours without success very hard! |
I’m not able to build with BLE commands enabled. I’ve tried building with espressif/esp-idf@646d36c and espressif/esp-idf@8c57aa0. Both give me errors like these at link time:
Using
It compiles and passes the flash size check but since it doesn’t link I can’t check the final binary size. The app size of I also don’t know if having smaller at_customize partitions will cause issues (for you or the rest of the esp32-at firmware), it’s likely that you won’t need all of them and could drop the fatfs or wpa2 partitions completely, though I don’t know what dependencies there are on them in the firmware. If the binary size is close to fitting I’d also encourage you to experiment with the compiler optimisation settings which may generate a smaller binary:
|
I have a old esp-at sdk that compiles to ble and wifi. But doest not have too much resources! I guess that is a 1.2 version. Btw, the MKR 1010, can you send us the compiled bin files ? |
Hi, Name, Type, SubType, Offset, Sizephy_init, data, phy, 0xf000, 0x1000 Name,Type,SubType,Offset,Sizeble_data,0x40,1,0x21000,12K Compiled and got -rw-r--r-- 1 osboxes osboxes 3072 May 21 12:16 at_customize.bin I burned and Something is wrong! But, we will find the solution! Btw, i compiled that MKR 1010 |
looks be a SPI (HCI) communciation with this firwamre |
Yes the nina-fw firmware reads commands from an SPI port, that’s the firmware I replaced with esp32-at.
From the looks of your terminal output the firmware has booted but you aren’t getting the AT command prompt. How have you configured the |
I had used the default port! Did they change on version 1.3 ? |
Hi |
Yep that’s the config I used 😄
That’s great news 🎉 I’m glad you got it working 🙇 |
Yes! Working nice! You are our hero! And you will help a lot of U-BLOX users :) Thanks again! |
sigalabs, Did you see that works ? |
I can confirm that it works, i have tested both WIFI and BLE using AT commands. |
Congratulations! But @keithduncan was the main mentor! |
Sir, can you help me how to config the two partitions files (at_customize.csv) and (partition_at.csv) to work with U-BLOX NINA-W102.
NINA W102 has 2MB flash!
Thanks!
PS: the bin size of AT COMMAND today is 1.3MB
The text was updated successfully, but these errors were encountered: