- Tinybooter works, I can deploy Native Sample and that works, too.
- Once I deploy TinyCLR (release build), Tinybooter detects it, and tries
to run it, but TinyCLR somehow crashes and resets the chip.
- I haven't been able to compile the debug build of TinyCLR, so I can't
tell why it crashes and reboots.
Before I start to "improve" the code, I thought I check-in with the
community to see if anyone has been able to get it going.
Thanks,
Armand
what compiler are you using? and what errors do you get on the debug build?
Cheers
Lorenzo
- The EA_LPC2478 sample comes fully loaded so the debug builds were not
fitting in the flash regions for me. I removed a small CLR feature, to get a
successful debug compile.
- The sample CLR scatter file(s) partly use the internal Flash memory (for
speed, see note* 1), but TinyBooter does not have blockstorage driver for the
internal flash. when you deploy the firmware (tinyCLR) using MFDeploy, it
ignores the internal flash code.
Once the CLR deployment is complete, tinybooter detects CLR and tries to run
it, and at some point branches into empty/garbage region of interal flash in
hopes of running the fast functions.
For the time being, I'm using the JTAG port to load CLR on the board as a
work around.
Note* 1: On PK_v3_0, executing from external flash caused issues with VS
debugger, since (I concluded) execution was not fast enough to respond to VS
packets. I understand what the motive for moving part of CLR to internal
flash is.
Is this board still the correct place to post these things?
-Armand
Seems we are working on the same thing right now. I am also fighting with
the EA_LPC2478.
Got it compile now also. Had to chnage some things in the clocking since I
have the V1.0 of the module which can run only with 48MHz.
Changed clocking of the UARTs with a prescaler of 1.
Now I am stuck a little bit. How did you deploy the images?
Did you get USB device running?
I use FlashMagic to flash tinybooterdecompress and the internal flash part
of the tinyclr.
Which mode did you use to put the other things into the external NOR.
I also was thinking about the MAC address deployment in mass production.
Best regrads
Andreas
I found adding a 0.5 to the Uart divider calculation to allow for round-ups
gives better alignment for other baud-rates and clock settings. There are
other minor Uart improvements on the board, mostly thanks to Ray.
I did experience similar MFDeploy problems with my last port (v3.0). I
highly recommend getting the board up to 72Mhz first, or using a rev 1.1a+
board. See this post from Andreas from EA ;)
http://tech.groups.yahoo.com/group/lpc2400_uClinux/message/861
For now, I'm using JTAG port to get all parts of TinyCLR on the internal and
external flash. But the combination of FlashMagic for the internal flash
part plus MFDeploy (@72Mhz) should work fine for you.
I haven't done any work on USB. I'm hoping to get Tinybooter to connect
over ethernet, the deployment of firmware over 115kbs takes quite a while.
Cheers,
-Armand
What to do ?
Armand R. wrote:
Andreas,I found adding a 0.
16-Dec-09
Andreas,
I found adding a 0.5 to the Uart divider calculation to allow for round-ups
gives better alignment for other baud-rates and clock settings. There are
other minor Uart improvements on the board, mostly thanks to Ray.
I did experience similar MFDeploy problems with my last port (v3.0). I
highly recommend getting the board up to 72Mhz first, or using a rev 1.1a+
board. See this post from Andreas from EA ;)
http://tech.groups.yahoo.com/group/lpc2400_uClinux/message/861
For now, I am using JTAG port to get all parts of TinyCLR on the internal and
external flash. But the combination of FlashMagic for the internal flash
part plus MFDeploy (@72Mhz) should work fine for you.
I have not done any work on USB. I am hoping to get Tinybooter to connect
over ethernet, the deployment of firmware over 115kbs takes quite a while.
Cheers,
-Armand
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
SQL Injection - SQL Server Convert EXEC To Avoid Attacks
http://www.eggheadcafe.com/tutorials/aspnet/9a1a8170-c8bf-43d8-9cb4-e23c743ddfc2/sql-injection--sql-serve.aspx
What can i do?
> On Wednesday, December 09, 2009 6:01 PM Armand R. wrote:
> I have been working with the port sample for LPC2478:
>
> - Tinybooter works, I can deploy Native Sample and that works, too.
> - Once I deploy TinyCLR (release build), Tinybooter detects it, and tries
> to run it, but TinyCLR somehow crashes and resets the chip.
> - I have not been able to compile the debug build of TinyCLR, so I cannot
> tell why it crashes and reboots.
>
> Before I start to "improve" the code, I thought I check-in with the
> community to see if anyone has been able to get it going.
>
> Thanks,
>
> Armand
>> On Monday, December 14, 2009 3:03 PM Lorenzo Tessiore wrote:
>> Hello Armand,
>>
>> what compiler are you using? and what errors do you get on the debug build?
>>
>>
>> Cheers
>> Lorenzo
>>
>> "Armand R." wrote:
>>> On Monday, December 14, 2009 3:42 PM Armand R. wrote:
>>> Thanks for responding, Lorenzo. I actually just figured out (20 minutes ago)
>>> what the issue was. For closure, here it is:
>>>
>>> - The EA_LPC2478 sample comes fully loaded so the debug builds were not
>>> fitting in the flash regions for me. I removed a small CLR feature, to get a
>>> successful debug compile.
>>>
>>> - The sample CLR scatter file(s) partly use the internal Flash memory (for
>>> speed, see note* 1), but TinyBooter does not have blockstorage driver for the
>>> internal flash. when you deploy the firmware (tinyCLR) using MFDeploy, it
>>> ignores the internal flash code.
>>>
>>> Once the CLR deployment is complete, tinybooter detects CLR and tries to run
>>> it, and at some point branches into empty/garbage region of interal flash in
>>> hopes of running the fast functions.
>>>
>>> For the time being, I am using the JTAG port to load CLR on the board as a
>>> work around.
>>>
>>> Note* 1: On PK_v3_0, executing from external flash caused issues with VS
>>> debugger, since (I concluded) execution was not fast enough to respond to VS
>>> packets. I understand what the motive for moving part of CLR to internal
>>> flash is.
>>>
>>> Is this board still the correct place to post these things?
>>>
>>> -Armand
>>>
>>>
>>>
>>>
>>>
>>> "Lorenzo Tessiore" wrote:
>>>> On Wednesday, December 16, 2009 4:43 AM M@n@t@rms wrote:
>>>> Dear Armand
>>>>
>>>> Seems we are working on the same thing right now. I am also fighting with
>>>> the EA_LPC2478.
>>>>
>>>> Got it compile now also. Had to chnage some things in the clocking since I
>>>> have the V1.0 of the module which can run only with 48MHz.
>>>>
>>>> Changed clocking of the UARTs with a prescaler of 1.
>>>>
>>>> Now I am stuck a little bit. How did you deploy the images?
>>>>
>>>> Did you get USB device running?
>>>>
>>>> I use FlashMagic to flash tinybooterdecompress and the internal flash part
>>>> of the tinyclr.
>>>>
>>>> Which mode did you use to put the other things into the external NOR.
>>>>
>>>> I also was thinking about the MAC address deployment in mass production.
>>>>
>>>> Best regrads
>>>>
>>>> Andreas
>>>>
>>>> "Armand R." wrote:
>>>>> On Wednesday, December 16, 2009 11:54 AM Armand R. wrote:
>>>>> Andreas,
>>>>>
>>>>> I found adding a 0.5 to the Uart divider calculation to allow for round-ups
>>>>> gives better alignment for other baud-rates and clock settings. There are
>>>>> other minor Uart improvements on the board, mostly thanks to Ray.
>>>>>
>>>>> I did experience similar MFDeploy problems with my last port (v3.0). I
>>>>> highly recommend getting the board up to 72Mhz first, or using a rev 1.1a+
>>>>> board. See this post from Andreas from EA ;)
>>>>>
>>>>> http://tech.groups.yahoo.com/group/lpc2400_uClinux/message/861
>>>>>
>>>>> For now, I am using JTAG port to get all parts of TinyCLR on the internal and
>>>>> external flash. But the combination of FlashMagic for the internal flash
>>>>> part plus MFDeploy (@72Mhz) should work fine for you.
>>>>>
>>>>> I have not done any work on USB. I am hoping to get Tinybooter to connect
>>>>> over ethernet, the deployment of firmware over 115kbs takes quite a while.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> -Armand
>>>>>> On Friday, December 18, 2009 7:56 AM ed shaid wrote:
>>>>>> On board EA-LPC2478 with OEM rev 1.1a:
>>>>>>
>>>>>> 1.Tinybootloader PK 4.0 is work.
>>>>>>
>>>>>> 2.TinyCLR PK 4.0 dont't work !!!
>>>>>>
>>>>>>
>>>>>>
>>>>>> What to do ?
>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>>>> Freeze Row Group Header in WPF DataGrid
>>>>>> http://www.eggheadcafe.com/tutorials/aspnet/98891749-f30a-4cbe-b711-dcaaee52bef3/freeze-row-group-header-in-wpf-datagrid.aspx