This report details the process of developing libraries to handle data management on two types of non-volatile memory interfacing with an STM32 microprocessor. This was done at the request of Suonobouno AB, who are developing digital and analog synthesizers. This work included the development of generic open-ended memory management functions, as well as functions for handling the specific data structures used in the company's instruments, the later building on the former. In the end, a library was developed that can perform the reading and writing of data to the storage mediums through a clean interface devoid of unnecessary detail. The solution is highly modular, with a clear strategy for managing coupling, to allow the library to grow and develop with further integration. / I denna rapport beskrivs arbetet med att utveckla bibliotek för hantering av externa lagringsenheter som används av en STM32 mikroprocessor. Detta utfördes på uppdrag av Suonobouno AB som utvecklar digitala och analoga syntar. Detta arbete innefattade framtagandet av generiska funktioner för minneshantering, så väl som funktioner anpassade för de specifika datastrukturer som förekommer i det system som är den tilltänkta applikationen. I slutändan åstadkoms ett bibliotek som kan utföra den nödvändiga läsningen och lagringen av data till de två lagringsmedia som omfattades av projektet. Detta kan kontrolleras genom ett rent interface som inte kräver kännedom om tekniska detaljer bakom lagringsteknikerna. Biblioteket är modulärt, med en tydlig strategi för att hantera beroenden, så att det kan växa och utvecklas med vidare integrering.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-314061 |
Date | January 2022 |
Creators | Falk, Johannes |
Publisher | KTH, Hälsoinformatik och logistik |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Relation | TRITA-CBH-GRU ; 2022:070 |
Page generated in 0.002 seconds