Postby Dmytro » Sun Nov 18, 2012 4:08 pm
Hi,
I've pushed some updates to mips-pic32mx branch: use shadow registers in ISRs and difinition of boot config registers w/o xc32 support.
This getting the port closer to be xc32-independant, though it still depends on some sources and headers from xc32 toolchain.
I'm going to rewrite most of them but I will copy some target-definition headers as rewriting thousands of lines of register definition is a stupid work. As far as I remember the license permits copying.
Regarding the usage of shadow registers - it definetely gives perfomance boost but not doubling it(sorry, no numbers this time - I have issues with ISP at home so writing these lines from my work place and I forgot to save the results ...)
I've also played with xc32 as a toolchain to build the firmware but the magic done by xc32's linker is too black for me.
Eventually I was able to build an ELF which looks good for me, but in the end it does not boot on target. Even in debug mode I can't trace what's going on there.
cheers,
-- dmytro