Hello
I want create 99 "programm_xx[75]"uint variablen.
programm_28[75] is compile ok >>> one more I have the error
Please help
Regards Wolfgang
dsPic v5 compiler error
Moderator: Benj
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
dsPic v5 compiler error
- Attachments
-
- Programm_0.fcf_pic16
- (171.57 KiB) Downloaded 201 times
-
- programm_29 compiler error.gif
- (56.84 KiB) Downloaded 502 times
-
- programm_28 ok.gif
- (60.01 KiB) Downloaded 502 times
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: dsPic v5 compiler error
Hi Wolfgang.
The error says there is not enough BSS memory. This is memory reserved for 'uninitialised' variables. You have too many uninitialised arrays here.
There may be some linker settings that can be tweaked in order to reduce the amount of allocated 'initialised' memory, but I don't know for sure.
Can I ask - why would you want to create such a large number of arrays? You could try allocating a single 7500 element array (requiring about 14Kb) and use an offset into this if your program allows.
Cheers,
Jonny
The error says there is not enough BSS memory. This is memory reserved for 'uninitialised' variables. You have too many uninitialised arrays here.
There may be some linker settings that can be tweaked in order to reduce the amount of allocated 'initialised' memory, but I don't know for sure.
Can I ask - why would you want to create such a large number of arrays? You could try allocating a single 7500 element array (requiring about 14Kb) and use an offset into this if your program allows.
Cheers,
Jonny
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- Contact:
Re: dsPic v5 compiler error
Hello Jonny
In a mattress-factory ,there are a sewing-automat for build the side stripe of the mattress from a big roll of material.
There are a lot of different long and different mark`s (stamp),so the costumer want 99 programm`s >> a`75 steeps.
I think the 24EP512 chip include 54kb ram,so i do these in 1 programm. no success so I build for programming 99 short programms,work well
Thanks for interest
Regards Wolfgang
In a mattress-factory ,there are a sewing-automat for build the side stripe of the mattress from a big roll of material.
There are a lot of different long and different mark`s (stamp),so the costumer want 99 programm`s >> a`75 steeps.
I think the 24EP512 chip include 54kb ram,so i do these in 1 programm. no success so I build for programming 99 short programms,work well
Thanks for interest
Regards Wolfgang