Reply by mirzaalivandi mohammad July 22, 20032003-07-22
hi ali
u can use your external flash memory in both two
modes.
important note that u should think about it, is the
changes on the memory map,u can also change your MP/MC
flag during running your program.
about bootloader as you know @ hardreset our program
counter will be set by FF80 and it is our interrupt
vector address,so usually we define a farbaranch to
our boot routines there and in the end of boot
routines we will branch to begining of our main
program.for example:
in command file:
interrupt_vectors_manifest: 0x000FF80 PAGE 0
{
your code.obj
}
and in your code:
reset FBD boot routine area
and in boot routin area:
,,,,,,,,, //some initial code

; begin _c_int00
NOP
NOP
FBD _c_int00
; SSBX XF
NOP
NOP

i hope that it will be usefull for u.
regards
mohammad mirza alivandi
--- ali rezaiye <> wrote:
> hi all.
> can i use external flash memory in microcomputer
> mode
> by C5402 and in microprocessor mode, should i write
> it's bootloader program myself?
> thank you. > __________________________________ > _____________________________________
> Note: If you do a simple "reply" with your email
> client, only the author of this message will receive
> your answer. You need to do a "reply all" if you
> want your answer to be distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to > To Post: Send an email to
>
> To Leave: Send an email to > Archives: http://www.yahoogroups.com/group/c54x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/


__________________________________


Reply by ali rezaiye July 21, 20032003-07-21
hi all.
can i use external flash memory in microcomputer mode
by C5402 and in microprocessor mode, should i write
it's bootloader program myself?
thank you. __________________________________