We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi there!
I have connected a SD Card to the SSC0-module of the Infineon XC167 Card. I am able to initialize the card in SPI mode, read data from the card and write data to the card.
The problem is that Keil's demo-compiler has a limit of the code size generated by the compiler.
Before settling with this card and the compiler I would like to evaluate the card more. That is why i have tried the free GNU KPIT Corona compiler for XC16x.
But although I am using the same code, I cannot even configure the SSC0-module. -If I try to enable the SSC0 module by setting the SSC0.EN = '1', the bit remains '0'. In fact the entire SSC0 register is '0'. I am using a general unlock function, MAIN_vUnlockProtecReg() but it doesn't seem to help.
Any ideas?
With kind regards, Michael
"But although I am using the same code"
Of course the code is adapted for the specific compiler which has different naming conventions than the Keil compiler....
I assume that different compilers initialize the controller modules differently, but I wanted to check if there are other explanations....