-->
Page 3 of 3

Re: Message - system param error - after flashing a new prog

PostPosted: Fri Aug 21, 2015 10:44 pm
by kolban
Thank you sir. I updated the original post to reflect your correction. Appreciate you being patient with me while I fumble through this :-) Your post was important ... accuracy in these things is essential.

Re: Message - system param error - after flashing a new prog

PostPosted: Sun Aug 23, 2015 12:19 am
by pvvx
kolban wrote:
2015-08-21_18-09-16.png

SDK 1.3.0 disasm (startup code):
Code: Select all   l32r   a2, pflashchip
   l32i   a2, a2, 0
   l32i   a14, a2, 0xC ; flashchip->sector_size
   l32i   a2, a2, 4 ; flashchip->chip_size
   mov.n   a3, a14
   l32r   a0, __udivsi3
   callx0   a0
   mov.n   a3, a14 ; flashchip->sector_size
   l32i.n   a4, a1, 0x14 ; pvPortZalloc(256)+0x80
   addi   a2, a2, -5 ; end flash sectors - 5 !
   movi   a5, 128
   call0   wifi_param_save_protect_with_check ; erase_sector(a2) !

System param 16KB+4KB ! :lol:
esp_flash.gif