-->
Page 1 of 3

Two questions: Briking probability and Booting from serial

PostPosted: Sat May 23, 2015 5:23 pm
by jcgalvezv
Hi:

I am new to this forum and want to ask a couple of questions:

1. I have read that boot loader is burned in the Soc ROM memory. It could be understood as if there was no possibility to brick it with a failed flash. Am i right?

2. I have read that there is a possibility to boot from serial instead of from flash. I want to be able to test my program before flashing. Doing several tests mean several compilations and flashing. This flashing takes some time and could wear flash memory. It would be good to be able to upload the program directly to RAM memory and run it from there without flashing. Do anybody know how can this "boot from serial" be done?

Re: Two questions: Briking probability and Booting from seri

PostPosted: Sun May 24, 2015 4:22 am
by cal
Moin,

the number of flash cycles seems to be >100,000 cyles.
I don't think flasing is a problem.
Your program typically will reside in cached flash ("irom") and iram becazse iram is limited.

Cal

Re: Two questions: Bricking probability and Booting from ser

PostPosted: Mon May 25, 2015 10:53 am
by jcgalvezv
Thanks you Cal for your reply.

Not the answer I wanted :oops: by I guess my question was to long and prone to miss interpretations.

What I want to know is:

1. Is there any risk to incorrectly update the firmware in such a way that the device become useless/irresponsive?

2. Do anyone have any knowledge about booting from serial?

Re: Two questions: Briking probability and Booting from seri

PostPosted: Mon May 25, 2015 11:01 am
by eriksl
1) Will be very difficult or even impossible, the boot loader seems be in rom.

2) Yes and no, there is no boot-from-serial mode BUT you can upload your program into flash and after that the processor will start executing the program. You might even succeed in making a serial-to-spiflash-emulator :-)