20 bit hell

View: New views
1 Messages — Rating Filter:   Alert me  

20 bit hell

by linked82 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm starting to use the extended memory space of my MSP430F2618 with
the CCE v3, and I'm getting a lot of problems.

The first of all is the DMA address assignment. If I try to use the
20bit SFR DMA variables, with the casting propossed by Texas in the
examples, (void (*)()), it can't compile. Otherwise, if I use the 16
bit SFR registers, it writes weird ASM code and hangs and resets.

The second thing is the __bis_SR_register(LPM0_bits); function, when I
try to enter the LPM0 it doesn't and resets.

Finally, an interrupt function declared in the 64kb address space (all
previous code was in 64kb addres space) loses the PC and SR values
when returning an resets.

Anybody had these issues before?

Thanks In Advance.

Best Regards.