Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Hidaho!
My program boots and runs fine on a F2812 (Rev G) in flash, but now I have to store variables
in flash, which are kept despite power off. Therefore I downloaded the new flash api from TI
(sprc125) and tried to make it run. I am going to store the library within the program, which
means in flash, but as it must be run from SARAM rather than flash, the library file must be
copied to SARAM during runtime.
There is a little non-BIOS example shipped with the API which compiles fine. But when I try to
insert the cmd instructions
Flash28_API:
{
-lFlash2812_API_V210.lib(.econst)
-lFlash2812_API_V210.lib(.text)
} LOAD = FLASH_BCDEFGHIJ, PAGE = 0
RUN = H0SARAM, PAGE = 0
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart)
in my project, which should give me the opportunity to copy it using a memcopy and the created
addresses, the compiler always quits with
<Linking>
>> C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 34: warning:
../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.econst) not found
>> C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 35: warning:
../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.text)
not found
>> warning: load address of uninitialized section Flash28_API ignored
Is anybody out there who has some advice for me? That would be very great!
Thanks a lot, A
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php
_____________________________________
Has anyone solved this problem? I am having the same issue.
-Mark
Hidaho!
>My program boots and runs fine on a F2812 (Rev G) in flash, but now I have to store
variables in flash, which are kept despite power off. Therefore I downloaded the new flash api
from TI (sprc125) and tried to make it run. I am going to store the library within the program,
which means in flash, but as it must be run from SARAM rather than flash, the library file must
be copied to SARAM during runtime.
>There is a little non-BIOS example shipped with the API which compiles fine. But when I try
to insert the cmd instructions
>
> Flash28_API:
> {
> -lFlash2812_API_V210.lib(.econst)
> -lFlash2812_API_V210.lib(.text)
> } LOAD = FLASH_BCDEFGHIJ, PAGE = 0
> RUN = H0SARAM, PAGE = 0
> LOAD_START(_Flash28_API_LoadStart),
> LOAD_END(_Flash28_API_LoadEnd),
> RUN_START(_Flash28_API_RunStart)
>
>in my project, which should give me the opportunity to copy it using a memcopy and the
created addresses, the compiler always quits with
>
>
>> > C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 34: warning:
> ../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.econst) not
found
>
>> > C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 35: warning:
> ../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.text)
> not found
>> > warning: load address of uninitialized section Flash28_API ignored
>
>Is anybody out there who has some advice for me? That would be very great!
>Thanks a lot, A
>
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php
_____________________________________
1/ have you add this file to your project, and not just in cmd file ?
2/ Are you sure about the file name and path.
According the error you provide, it can't find the allocated section for=20
this module, so I think you miss to add it to the project (Project > Add=20
files to project).
Veuillez r=E9pondre =E0 m...@arl.army.mil
Envoy=E9 par : c...@yahoogroups.com
Pour : c...@yahoogroups.com
cc :=20=20=20=20=20
Objet : [c28x] Re: Problems using flash api
Has anyone solved this problem? I am having the same issue.
-Mark
Hidaho!
>My program boots and runs fine on a F2812 (Rev G) in flash, but now I=20
have to store variables in flash, which are kept despite power off.=20
Therefore I downloaded the new flash api from TI (sprc125) and tried to=20
make it run. I am going to store the library within the program, which=20
means in flash, but as it must be run from SARAM rather than flash, the=20
library file must be copied to SARAM during runtime.
>There is a little non-BIOS example shipped with the API which compiles=20
fine. But when I try to insert the cmd instructions
>
> Flash28_API:
> {
> -lFlash2812_API_V210.lib(.econst)=20
> -lFlash2812_API_V210.lib(.text)
> } LOAD =3D FLASH_BCDEFGHIJ, PAGE =3D 0
> RUN =3D H0SARAM, PAGE =3D 0
> LOAD_START(_Flash28_API_LoadStart),
> LOAD_END(_Flash28_API_LoadEnd),
> RUN_START(_Flash28_API_RunStart)
>
>in my project, which should give me the opportunity to copy it using a=20
memcopy and the created addresses, the compiler always quits with
>
>=20
>> > C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 34:=20
warning:=20
> ../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.econst) not=20
found
>
>> > C:\Work\Projects\McLIA\3rdParty\f2812_BIOS_flash.cmd, line 35:=20
warning:=20
> ../3rdParty/Flash2812_API_V210/lib/Flash2812_API_V210.lib(.text)
> not found
>> > warning: load address of uninitialized section Flash28_API ignored
>
>Is anybody out there who has some advice for me? That would be very=20
great!
>Thanks a lot, A
>
You can post a message or access and search the archives of this group on D=
SPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php
_____________________________________
=20