Home arrow Support arrow Forums

Luminary Micro Forums

bsmith

Fresh Boarder
Click here to see the profile of this user

2006/09/26 19:18

Writing flash....

Hi,

I just got my LM3S811 EVAL board from circuit cellar. I'm very impressed so far.

My first goal: Add a high score list to the space shooter.

What I'm trying to figure out is....

1) How many erase cycles can the flash take? (I can't seem to find this anywhere. It really doesn't matter, since I doubt I'll play the game > 10,000 times, but still....)

2) Where in flash should I put it? Does the program and all related stuff reside in flash starting at address zero? Is there anything else in flash I need to make sure not to step over?

3) If I add a high score list, would anyone like to see the resultant code? :)

Thanks,

--buddy

login or register to reply

C@PPER

Fresh Boarder
Click here to see the profile of this user

2006/09/29 09:28

Re:Writing flash....

Buddy,

I'm sure when the contest gets going there will be more activity on these forums and everyone will want to see your code if you choose to share it.

I'm working on a Delphi program to help set up bitmaps for the OLED display also....

C@PPER

login or register to reply

englere

Gold Boarder
Click here to see the profile of this user

2006/10/04 07:13

Re:Writing flash....

I'd like to see your Delphi program if you want to make it open source.

I normally use this COM port VCL with Delphi 5:
http://sourceforge.net/projects/asyncfree/

I wrote some open source IDEs for other controllers in Delphi, and I'm working on a visual debugger using C# for the Stellaris family as time allows.

LMI has impressed me a lot. Their code library is very good, and they also have a debugger library that you can request (with PC side routines written in C to interact with JTAG).

Eric
http://www.ericengler.com/asmide.aspx
http://www.ericengler.com/EmbeddedGNU.aspx
http://www.ericengler.com/Pluto.aspx

login or register to reply

mrodsilva

Fresh Boarder
Click here to see the profile of this user

2007/03/10 13:40

Re:Writing flash....

Hi,

When it comes to Delphi I recommend the Synapse libray. There is a TCP/IP and a Serial library.

http://synapse.ararat.cz/

mrodsilva

login or register to reply

igorp

Gold Boarder
Click here to see the profile of this user

2007/03/11 15:24

Re:Writing flash....

Hello Eric,

Reading the forum I have learned you are trying to write a debugger based on Serial Wire Debugging. I got the same idea because the small Luminary micros could be more useful (as LMI Eric noticed lately SWD doesn't use weird PB7 TRST signal) with such connection to a debugger. I haven't seen any attempt (Keil is probably the only one developing this inteface) in GNU or more reasonable space so I have had an idea to participate with you on such project. I must notice my cooperation would be now in my free time only. I use Luminary Cortex M3 (silicon C) as a hobby only even though I am certain the future of small micros could be with this core.
I am almost certain the Luminarymicro is working on such debugger and may be IDE based on Gcc selling for free to support their 28 pins micros.
Never the less it could be interesting work to develop such debbuger...
What do you mean?

Regards

Igor

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2007/03/12 10:23

Re:Writing flash....

Igor,

I have touched SWD a little bit, and would like to eventually add support for it to the Keil interface DLL, but it's one of those things that isn't a really high priority right now. I have the basic low-level functions implemented to do SWD read/write transactions, but I haven't pulled that into my higher level debug API just yet. I don't really have a time frame on when or if that will be available.

If you're interested in using SWD now, the CodeSourcery tools use SWD as the debug interface to our devices.

If you do end up trying to implement a SWD interface on your own, feel free to contact me for pointers. I've run into a few "gotchas" with the DAP in both modes, so I can probably save you from a headache or two. I'm sure there would be a lot of very appreciative people in the open source world if you were to implement SWD. You can post here in the forum or send email to support@luminarymicro.com.

Eric

login or register to reply