[elektro] PIC32 Helix MP3 project.

Arnold Fuzesi arnold.fuzesi.lista at gmail.com
Sat Oct 27 10:08:15 CEST 2012


Tuti compiler hiba?

Nem ismerem a pic32-t nagyon (osszedobtam egy termosztatot belole, es ennyi), de ugy kepzelem a shadow tamogatas hw-es, maskepp nem latom hol lenne praktikus. Hw pedig lehet nem tamogatja az oszto regiszterek shadow-zasat, vagy konfigolas kerdese. Avagy ha shadowzol akkor nem menti amit a hw nem tamogat shadow temaban, es az oszto ezert maradt mentes nelkul.

Logikus lenne sztem.

(Compiler hibat eleg ritkan latok. Nagyon ritkan. )

Gyors Google alapjan hw-es a mentes:
The PIC32 processor implements a copy of the General Purpose Registers (GPR) for use by high-priority interrupts. This extra bank of registers is known as a shadow register set. When a high-priority interrupt occurs the processor automatically switches to the shadow register set without software intervention. This reduces overhead in the interrupt handler and reduces effective latency.

The shadow register set is controlled by registers located in the System Coprocessor (CP0) as well as the interrupt controller hardware located outside of the CPU core.

For more information on shadow register sets, see Section 8. “Interrupts” (DS61108).

 

Arnold
Sent from my iPhone

On 2012.10.27., at 9:30, "flaist" <flaist at gmail.com> wrote:

> Na igen, megint egy compiler hiba!
> Az IPL7SRS shadow módban nem menti az osztó HI / LO regisztereket az ISR.
> És ezek nem mentődnek a shadow regiszter blokkba sem.
> Én meg pechemre osztok az IT rutinban.
> Ahogy elnézem javítás sincs még a dologra.
> Be kell tenni egy kamu függvény hívást az ISR-be, akkor menti ezt a két regisztert is.
> 
> 
> 
> -----Original Message-----
> From: I F [mailto:flaist at gmail.com] 
> Sent: Friday, October 26, 2012 6:18 PM
> To: elektro at tesla.hu
> Cc: elektronika, uC, dsp, wlan, programozas
> Subject: PIC32 Helix MP3 project.
> 
> Sziasztok!
> 
> Próbálom a Microchip PIC32 Helix MP3 projectet.
> Ez egy PIC32-re portolt MP3 dekóder szoftver.
> A dolog működik is !!!!!
> De lett  egy bajom.
> Az IPL7-es IT rutint shadow módban (IPL7SRS) kell használnom (itt csak átkapcsol az IT rutin a shadow regiszterekre, a gyorsabb futás miatt), de ilyenkor elhasal az MP3 sw.
> Ha vissza kapcsolom az IT rutint IPL7SOFT módba akkor nincs hiba (ilyenkor minden regisztert egyesével ment az IT rutin).
> 
> Lehetséges, hogy az MP3 rutinok használják a shadow regisztereket.
> Vagy valami más baj van?
> 
> Köszi, üdv István
> 
> -----------------------------------------
>          elektro[-flame|-etc]


More information about the Elektro mailing list