hi…
i work with LPC 2138, and i want to create a simple database which can update, edit, and delete data and my database can be stored in MMC too.
Does anybody know a program that can manage database in ARM and how to use it?
Thx before.
hi…
i work with LPC 2138, and i want to create a simple database which can update, edit, and delete data and my database can be stored in MMC too.
Does anybody know a program that can manage database in ARM and how to use it?
Thx before.
Do you need a full relational database or just random-access key->value lookups?
You might be able to squeeze sqlite (for full SQL support) or gdbm, sdbm, or qdbm (for a simple hashtable/btree implementation) onto a 2138.
i’m sorry, i’m new in ARM programing and still don’t know how to use SQLite.
can you tell me what should i download and how to use it?
i use windows xp as OS n Rowley Crosswork.
i need min 2 tables of database and have a relation between table.
maybe u have a tutorial to use it?
thx before.
A database in an mcu, nice idea
Unfortunately I have never seen anything like this implemented in an mcu. I don’t think you’ll find something ready for that purpose, you’ll need to adapt some existing code for your mcu.
Anyway, where will be stored that database? in the LPC’s flash memory?, in a dataflash, or in a sd card? And are you planning to use a filesystem? I think you will need a fat32 handler to create the database as a file and access it from the mcu, not simple
Keep posted, it’s interesting
i know it’s not simple, so i need someone who know n have experience to attached a database in mcu, especially in LPC. i think i will use MMC Card with file system FAT32. do you know somebody that can use mini database (like SQLite) in mcu??
If you want to use an SD/MMC card look at this http://sourceforge.net/projects/efsl. It is not yet a database but will solve the filesystem problem.
thx for the info.
keep posting me if you know how to attach DB in mcu.
Yhere isn’t going to be enough memory, databus access to external memory, or speed to run a real database. You probably haven’t thought the problem through well enough, you can normally do plenty with a basic flat file type structure that is very simple to implement.
Andy