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
E.setBootCode not working for ESP8266_4MB #1240
Comments
have you tried If it's not even attempting to load code, it could be because the 'magic byte' is missing - which could be because the memory area assigned to saving is too large/gets overwritten somehow? you could check with |
looks fine in flash....
|
What about |
results for load() ,reboot and flash read, so still in flash after reboots
|
Wow, strange. I'd have said it might have been jsiInit() getting called with |
this output looks strange, side effect console.log is no longer defined....
|
You get that if you save code with one version of Espruino and load it with another? |
Can not reproduce it, so lets forget that! |
This code for reading boot code will only work if the save area is in the first partition, because only this partition is mapped to memory starting at 0x40200000. local commit: MaBecker@3145260 adding -mforce-l32 will dump boot code correct:
local commit: MaBecker@144c3c6 |
looks like code cannot be found during dump() and ESP8266.reboot()
maybe this is not working for a Flash map 4MB:1024/1024?
found this: https://github.com/espruino/Espruino/blob/master/src/jswrap_flash.c#L568-L572
@tve do you remember if this value only works for ES8266-01?
The text was updated successfully, but these errors were encountered: