Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Freescale DSPs | Changing the BOOTMAP bit on 56F805 or family member

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

Changing the BOOTMAP bit on 56F805 or family member - dsp_sense - Oct 26 15:59:00 2004


Does anyone have any experience with changing the bootmap bit in
SYS_CNTRL on the fly? I am trying to change it to 1 to access an
external peripheral in program space, but the processor appears to
reset/crash when I do this. I'd like to be able to change it to 1,
read the peripheral and then change it back to zero so I can still
access the bootflash.

Thanks for the help.




______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: Changing the BOOTMAP bit on 56F805 or family member - Author Unknown - Oct 26 17:29:00 2004

Try this:
 
#define BOOTMAP_A 0xFFEF
#define BOOTMAP_B 0x0010
#define SYS_BASE 0x0000
#define SYS_CNTL (volatile unsigned short*)(SYS_BASE+0x0)
To set bootmap B use:
*SYS_CNTL = *SYS_CNTL | BOOTMAP_B;
 
To re-set to bootmap A use:
*SYS_CNTL = *SYS_CNTL & BOOTMAP_A;
 
Hope this helps
 
J.K. Herrera
 
 
-------------- Original message --------------

Does anyone have any experience with changing the bootmap bit in
SYS_CNTRL on the fly? I am trying to change it to 1 to access an
external peripheral in program space, but the processor appears to
reset/crash when I do this. I'd like to be able to change it to 1,
read the peripheral and then change it back to zero so I can still
access the bootflash.

Thanks for the help.


_____________________________________
/groups.php3



______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: Changing the BOOTMAP bit on 56F805 or family member - S L - Oct 26 18:07:00 2004

This is basically what I was trying, except that I was using a bit set/bit clear. I tried it your way and still have the same problem... the processor resets/crashes.
 
Also, I noticed you showed SYS_BASE defined as 0x0, I believe it should be 0xc00 or am I missing something?
 
Thanks.

j...@comcast.net wrote:
Try this:
 
#define BOOTMAP_A 0xFFEF
#define BOOTMAP_B 0x0010
#define SYS_BASE 0x0000
#define SYS_CNTL (volatile unsigned short*)(SYS_BASE+0x0)
To set bootmap B use:
*SYS_CNTL = *SYS_CNTL | BOOTMAP_B;
 
To re-set to bootmap A use:
*SYS_CNTL = *SYS_CNTL & BOOTMAP_A;
 
Hope this helps
 
J.K. Herrera
 
 
-------------- Original message --------------

Does anyone have any experience with changing the bootmap bit in
SYS_CNTRL on the fly? I am trying to change it to 1 to access an
external peripheral in program space, but the processor appears to
reset/crash when I do this. I'd like to be able to change it to 1,
read the peripheral and then change it back to zero so I can still
access the bootflash.

Thanks for the help.


_____________________________________
/groups.php3



Post your free ad now! Yahoo! Canada Personals




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )