Find Jobs
Hire Freelancers

C Code to Read and Write to SPI Flash Memory

£20-250 GBP

In Bearbeitung
Veröffentlicht vor mehr als 10 Jahren

£20-250 GBP

Bezahlt bei Lieferung
A small number of C functions are required to be written. The software is to run on an ATMEL ATSAM4S16B ARM processor. The code will be in C to compile using atmel studio 6. The software is for an embedded system. RAM is very limited. No mallocs should be used - local variables should be limited. It would be useful if you had the real hardware - this CPU and the AT25DF081 memory - to test your code. But this is unlikely and it is acceptable for you to write the code using atmel studio and I will test here. I may take 1-2 days or more to test the code that you send because I am very busy. THE SOFTWARE The software will be used to maintain a copy of some C arrays/structures in external SPI Flash memory in an AT25DF081 memory device. It is possible that, during a write to the AT25DF081, the data may be corrupted. So a checksum is needed to confirm that the data in the AT25DF081 is written correctly. If the data is corrupted in the AT25DF081, the main application can then safely ignore it. So, a set of functions are needed which will read and write and check the data in the AT25DF081 memory: The functions are fm_write, fm_read, and fm_checksum. Basic operation is to write from main memory to the AT25DF081 and to read back again. To check that the data is correct in the AT25DF081 it is necessary to add a checksum and length value in the AT25DF081 memory area. see text file for full info
Projekt-ID: 5070398

Über das Projekt

13 Vorschläge
Remote Projekt
Aktiv vor 10 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Hi from Spain Long time experience on embedded systems under ANSI C, ISO C99, ISO C11 Best regards Mike www. ninosoftware. com
£170 GBP in 2 Tagen
4,9 (6 Bewertungen)
3,0
3,0
13 Freelancer bieten im Durchschnitt £251 GBP für diesen Auftrag
Avatar des Nutzers
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, ofcourse garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
£300 GBP in 6 Tagen
4,9 (100 Bewertungen)
6,8
6,8
Avatar des Nutzers
Hi, I'm a embedded engineer with 8 years' experience. I'm good at C51, ARM MCU, and skilled at SPI, Flash programming. I have the experience of ATMEL MCU, in which I made a P2P mini cell phone using 2.4GHz RF transceiver. However, we used the SPI flash in that project. So I guess I am right for your project, I hope we have opportunities for future cooperation. Thanks Lipeng
£150 GBP in 3 Tagen
5,0 (6 Bewertungen)
4,8
4,8
Avatar des Nutzers
I have worked with AT45DB161D memory and written the SPI and Memory Management Code on Cortex M Core Processor ! 33% First Milestone Writting SPI Driver ! 33% Second Milestone FLASH Mem Driver ! 33% Third Milestone Tweeks & Optimization !
£222 GBP in 7 Tagen
4,7 (4 Bewertungen)
4,4
4,4
Avatar des Nutzers
Hi, I have worked on AT91SAM7S with AT26DF081A & AT45DB321D external data-flash using SPI. Some flash do take some time to write data depending on the write speed and transfer rate. I would be able to work with the Compiler and IDE you are using, but I don't seem to have a hardware with me. Hope we can discuss this further. Regards, Vikas
£888 GBP in 15 Tagen
2,0 (1 Bewertung)
2,8
2,8
Avatar des Nutzers
I have previous hands on on ATMEGA micro-controller programming during. We had a auto bot which used to solve a maze. I can be contacted at +91-9553310800 for further discussions to understand properly the business needs so that i can provide design approach to the requirement.
£200 GBP in 5 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi, I am a Canadian Technology developer/expert and operate as a registered business. My first job was developing software for the UK in 1986. My first computer was a Sinclair ZX-81 in 1982 :) I am a C expert and have developed C programs in many O/S since 1987. I am also an expert Assembly (Z80A, 6502, MC68008, Intel x86) programmer and an electronics/hardware expert! If you provide me with the I/O map of the RAM and the device, I can send you the code. IT WILL WORK! :) Thank you. Warm regards, Anthonus.
£277 GBP in 30 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Well we are new to it and have no review what you needed from a freelancer to judge his work...but have guts to make your work done within the time...can try to make it full. thanks.
£111 GBP in 10 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hello, Thanks a lot for considering me for this work. I am working as an Senior Embedded Engineer in India with 5 years of overall experience. I had experience in working on C, Embedded, QNX RTOS, Algorithms, Electronics, Microcontrollers, OrCAD, Pspice, Communication Protocols like CAN, I2C, SPI etc. I can finish the work in 10 to 15 days. I can complete your work with 100% accuracy & in time. So, please consider me for this project. Waiting for a favorable reply. Thanks - gtbtech.
£220 GBP in 12 Tagen
0,0 (1 Bewertung)
0,0
0,0
Avatar des Nutzers
I worked with different types of flash before, I2C and SPI flash, I will just need the simulator and the data sheet for the processor.
£222 GBP in 7 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi, I have over 20+ years of experience in embedded system design, During this period i have been worked on AVR uc. I have SPI flash code for (AT45DB642D - 8MB) interface with Atmega128. Developed on AVR-GCC using AVR studio. As Test program for flash testing is as follows , I can easily modified my code as per your requirement. void main(void) //FLASH Test { unsigned int retval, pagenumber, startbyte, stopbyte, i; unsigned char L_wbuf[26],L_rBuf[26]; SysEnterInPwrDwnMode();//Power Sleep Mode initialisation InitialiseSystem();//System Initialisation pagenumber = 4; startbyte = 0; stopbyte = 26; SetBacklight( 1 ); for(i = 0; i < 26;i++) //writing to L_wbuf { L_wbuf[i] = 'A' + i; readPageBuffer[i] = 0; L_rBuf[i] = 0; } L_wbuf[i] = '\0'; write(COM_PORT1, "\r\nWRITING...\r\n",14,FALSE );//reading from L_wbuf PageModify_Str( 0, L_wbuf ,pagenumber,startbyte, stopbyte );//writing on pagenumber fr startbyte to stopbyte write(COM_PORT1, (unsigned char *)L_rBuf,26,FALSE ); write(COM_PORT1, "FINISH....\r\n",12,FALSE );//reading from L_wbuf Page_Read_Str(0, pagenumber, (unsigned char *)readPageBuffer ); //reading from pagenumber in a write(COM_PORT1, "READING...\r\n",12,FALSE );//write read data to serial port write(COM_PORT1, (unsigned char *)readPageBuffer,26,FALSE ); while(1) CheckAndTurnOffSystem(NULL);//Power ON/OFF Polling Function } Waiting for your resp, thanks- rdbembsys
£150 GBP in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
WOW! It seems that this project was posted by me... As I can program wide variety of controllers including low end (8051,PIC,AVR,MSP430) and high end ARM Cortex-M core based (STM8,STM32,Kinetis controllers by Freescale) etc etc... I am a professional R&D "Embedded Design Engineer" which has successfully completed many embedded projects and many of them are in progress... Have a look @ my short intro below: Electrical Engineer (Gold-Medalist) from the oldest and the most reputable engineering institute of Pakistan (UET, Lahore). Done my internship @ US based R&D embedded company “Mentor Graphics” and currently working as Professional “Embedded Design Engineer” @ Asia’s #1 ranked R&D company “MicroTech Industries”… Current Research Project: Currently researching on MSP430 and Cortex M4 cores in order to find a solution for robust way of “Remote Firmware Up-gradation”. This research project is intended to save time and money needed for manual firmware up-gradation. “MicroTech Industries” will be able to save millions of dollars per annum by having this feature embedded into its “Smart Energy Meters” Looking for your positive reply soon :)
£250 GBP in 14 Tagen
0,0 (0 Bewertungen)
2,9
2,9
Avatar des Nutzers
Hello. Is this to be a library to be used by in another application then? I have read through your txt file and my understanding is that you want to store arrays and structures from a program into this memory device using the functions in the library to be built. Is this correct? Thank you for your time and I look forward to working with you.
£100 GBP in 5 Tagen
0,0 (1 Bewertung)
0,0
0,0

Über den Kunden

Flagge von UNITED KINGDOM
Brighton, United Kingdom
5,0
23
Mitglied seit Juni 8, 2008

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.