piazzare delle "go to"

in un'AN microchip leggo questo: "Once the application is compiled and sized, place unconditional branch instructions (such as, =93GOTO .=94) throughout the unused area of program memory. If something should happen that makes the code =93run away=94 by branching into unused code space, the GOTO instructions can bring the microcontroller back to your code, where the WDT can help bring the application back under control"

domanda: come faccio a scrivere l'op-code della goto in tutta la flash non = utilizzata?

-ice-

Reply to
ice
Loading thread data ...

Il 24/07/2012 10.27, ice ha scritto:

utilizzata?

boh; con una direttiva dell' asm o del linker ?

oppure, in un programmer, prima fai un fill del' area flash con il codice del goto, poi carichi il tuo file, poi salvi l' area flash con nome.

--
saluti
   lowcost
Reply to
lowcost

Il giorno marted=EC 24 luglio 2012 13:17:19 UTC+2, lowcost ha scritto:

ma prima di programmare il dispositivo non viene fatta una bulk-erase? sto usando l'ide di microchip non uno standalone che permette di decidere c= osa (programmare e cosa no)

-ice-

Reply to
ice

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.