This is the weirdest thing i've ever experienced.
So before I tell you the problem, here's some quick background.
My project is a GPS tour guide. It's a hanheld device, and when you walk by a certain location it will show information on the location on he screen. It also has audio feedback so you can hear a voice speaking the text.
this is all built around a Mega128.
I've gotten to point where i'm just fleshing out the guide with real locaiton information. (i.e. history information about a location.. etc.. etc..)
here's where the problem comes in..
So i have 5 locations i want my guide to locate. I programmed 3 of them. They work awesome.. i add the 4th location, and then my unit just acts retarded, like my LCD just goes blank.. and the thing just doens't work anymore..
i figured.. maybe it's just my code. SO what i did was comment out a known working location, and leave in the new location (the one i thought i programmed bad).. the unit works perfectly.. it's like i can't have more than 3 locations on it.
I'm only using 7Kb of the flash in the micro controller.
ANy clues? i'm still looking over my code, but could there be some sort of hardware issue here? are there fuse bits i'm not setting?