2017-02-09 08:10 AM
When compiling a SPC5 studio generated demo program with -Os to optimize on size, the resulting code stalls during initialisation. in eirqInit() the loop
while (eirqconf[i].eirqNumber != -1) {
never terminates when the eirqconf[] table has no entries except for the terminator record where irq is set to -1
const eirq_config eirqconf[]={
{-1,0,0,0,NULL} };Is this a known issue, can anyone reproduce?
2017-02-14 05:37 AM
Hello Giert ,
i will contact NXP-Freescale
The gcc source code are not available anymore
use some special attribute to disable compiler optimization.
__attribute__((optimize('-O0')))
Best regards
Erwan
2017-02-28 03:35 AM
Hello Gert ,
i have tried this code on SPC560D
uint8_t bugmessage[] = 'Bug!!!
';
int8_t fs = -1;
void bug(void) {
if (fs != -1) {
sd_lld_write(&SD1, bugmessage,
(uint16_t)(sizeof(bugmessage)/ sizeof(bugmessage[0])));
}
}�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?
No bug happenned
Which SPC56 Family do you use ?
Best regards
Erwan
2017-05-02 11:50 PM
Hello Erwan,
Is there any news on this issue?
Do you know of any party offering a PPC VLC toolchain with commercial support?
2017-05-04 02:55 AM
Hello Gert ,
I have no news about that.
you can use hightec gcc
http://www.st.com/en/development-tools/spc5-htcomp-nltl.html
By SPC5Studio , you have 30 days free.
Best Regards
Erwan