Hi,
does anyone work on MTD HAL driver?
This might be used on top of internal flash in MCU. Though in some MCUs it's not possible to program internal flash when running main code or just to costly(in pic32 the CPU is stalled while writing into the program flash) it's possible to have external flash IC(via i2c or SPI).
cheers,
~ dmytro
HAL MTD
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: HAL MTD
What MTD stands for?
Anyway, I agree that an abstract flash driver is required. The execution limitation is very common, some devices have dedicated data flash banks but it is not common.
Giovanni
Anyway, I agree that an abstract flash driver is required. The execution limitation is very common, some devices have dedicated data flash banks but it is not common.
Giovanni
Re: HAL MTD
At this point I'd like to point to the EEprom emulation which some STM32 devices seem to provide. It's not so well known and I don't know how well it works, but it could be a very interesting thing.
(PDF attached)
~ Tectu
(PDF attached)
~ Tectu
- Attachments
-
- eeprom_emulation.zip
- (146.07 KiB) Downloaded 222 times
Re: HAL MTD
Hi, MTD stands for MemoryTechnologyDevices.
This covers all kinds of flash, eeprom, etc.
This suppose to be an abstraction level on top of flash devices that takes into account different characteristics of the latter(erase, write page, write sector, etc.).
This covers all kinds of flash, eeprom, etc.
This suppose to be an abstraction level on top of flash devices that takes into account different characteristics of the latter(erase, write page, write sector, etc.).
Re: HAL MTD
A generic HAL would also be interesting for ChibiOS/GFX since everything there is BaseSequentialStream and BaseFileStream etc. based. Therefore it would be way easier for the user to load pictures and other data from different memory sources.
~ Tectu
~ Tectu
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 20 guests