Need free sector for data logging

Post details of your projects here.
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Need free sector for data logging

Post by YahooArchive »

I am doing a LOCK DOOR for TRUCK and i have to store the time and date and GPS
when it opened and closed.
I am think to store in the FLASH of ARMWEB.
Wich is first sector free that will not conflict with ftp and program area ?
Miguel



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: Need free sector for data logging

Post by YahooArchive »

Theoretically sector 11 (0x0B) 32K 0x20000-0x27FF is free below the ftp file
system.
But I wouldn't recommend it incase the hex file grows.

All sectors 20 through 26 are available above the ftp file system.
Sectors 20 and 21 are 32K.
The rest are 4K, you may prefer to use the smaller ones.

Miguel:
My user manual LPC213x_UM10120_1.pdf has the memory locations at page 221
If you need it I'll send it to you.

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: Need free sector for data logging

Post by YahooArchive »

Here are the locations and sizes of the upper sectors
20 (0x14) 32 0x0006 8000 - 0X0006 FFFF
21 (0x15) 32 0x0007 0000 - 0X0007 7FFF
22 (0x16) 4 0x0007 8000 - 0X0007 8FFF
23 (0x17) 4 0x0007 9000 - 0X0007 9FFF
24 (0x18) 4 0x0007 A000 - 0X0007 AFFF
25 (0x19) 4 0x0007 B000 - 0X0007 BFFF
26 (0x1A) 4 0x0007 C000 - 0X0007 CFFF

So sector 22 at 0x78000 looks like a good 4K choice.

Post Reply