Search found 374 matches
- Mon Apr 17, 2023 7:28 pm
- Forum: Bug Reports
- Topic: snor_device_verify_erase should not change BaseFlash::state Topic is solved
- Replies: 1
- Views: 1920
snor_device_verify_erase should not change BaseFlash::state Topic is solved
hal_flash_device.c::snor_device_verify_erase() currently modifies the state of BaseFlash::state in the case of an error in verifying. However, this is not necessary, as the hal_serial_nor::snor_verify_erase() (which is the function in the BaseFlash VMT) already manages the state of BaseFlash::state ...
- Mon Apr 17, 2023 7:20 pm
- Forum: Small Change Requests
- Topic: BaseFlash::state - use critical region to change
- Replies: 1
- Views: 1552
BaseFlash::state - use critical region to change
The BaseFlash:state should be able to be read without having to use flash(Acquire/Release)Exclusive in the case of multiple threads using the same BaseFlash. Normally, this isn't a problem - but erase operations can take a long time during which the thread managing the erase may want to get exclusiv...
- Mon Mar 27, 2023 2:12 pm
- Forum: Development and Feedback
- Topic: Additional Simulator Posix HAL LLD drivers
- Replies: 10
- Views: 7290
Re: Additional Simulator Posix HAL LLD drivers
JohnyWalter3265 wrote:What are some examples of additional Simulator Posix HAL LLD drivers, and how do they enhance the functionality of the simulator?
Everywhere I look, I wonder if the thing was generated with ChatGPT lol.
- Mon Feb 13, 2023 8:13 pm
- Forum: Development and Feedback
- Topic: Additional Simulator Posix HAL LLD drivers
- Replies: 10
- Views: 7290
Re: Additional Simulator Posix HAL LLD drivers
Some additional drivers .. ADC, EFL, and GPT.
EFL is basically a special case of the BaseFlash simulation driver:
viewtopic.php?f=38&t=6149&p=41539#p41539
EFL is basically a special case of the BaseFlash simulation driver:
viewtopic.php?f=38&t=6149&p=41539#p41539
- Wed Dec 14, 2022 10:32 pm
- Forum: STM32 Support
- Topic: DMA fifo usage inconsistent among stm32 drivers
- Replies: 0
- Views: 2091
DMA fifo usage inconsistent among stm32 drivers
Most drivers do not use the DMA FIFO, some do: SDIOv1, SDMMCv1, CRYPv1, QUADSPIv2 . Is there any logic behind why some enable it and others don't? Recently had an issue where we were getting dma errors while using external SRAM, and SPI DMA with that external SRAM. Enabling DMA FIFO solved the probl...
- Wed Nov 23, 2022 5:17 pm
- Forum: Development and Feedback
- Topic: armv7/8-A simulator port
- Replies: 1
- Views: 2353
armv7/8-A simulator port
I've been making use of the simulator port quite a bit, and now need to be able to run simulation on something like a raspberry pi.
The current simulation port is for x86. Any hope you can make a port for armv7-A and armv8-A (I think they may be identical?).
The current simulation port is for x86. Any hope you can make a port for armv7-A and armv8-A (I think they may be identical?).
- Mon Oct 31, 2022 6:52 pm
- Forum: ChibiOS/HAL
- Topic: BaseFlash: Add erase_range
- Replies: 2
- Views: 1614
Re: BaseFlash: Add erase_range
Of course the snor erase range code I provided was buggy, lol. I updated the first post with a hopefully corrected version - but anyways, you get the point.
- Mon Oct 31, 2022 6:35 pm
- Forum: ChibiOS/HAL
- Topic: BaseFlash: Add erase_range
- Replies: 2
- Views: 1614
Re: BaseFlash: Add erase_range
Just thinking about it, the callback should include the number of bytes erased thus far. That should do it ... the application would know the progress as it provided the erase range to begin with.
- Mon Oct 31, 2022 6:06 pm
- Forum: User Projects
- Topic: Lightweight partitioned BaseFlash registry
- Replies: 0
- Views: 3578
Lightweight partitioned BaseFlash registry
This is a lightweight layer to register BaseFlash devices along with partitions for the application layer. This allows the application to address/access a particular partition of a particular device with path like "sda1/config". This is useful, and probably all most embedded applications n...
- Mon Oct 31, 2022 5:18 pm
- Forum: Small Change Requests
- Topic: BaseFlash simulation driver
- Replies: 2
- Views: 2780
Re: BaseFlash simulation driver
Here's one that specific for EFL - which can be added to os/hal/ports/simulator/posix. It's very similar. A notable difference is that this has a flash_descriptor_t that is defined in the LLD driver itself (configurable via preprocessor symbols) - as opposed to the generic driver above which expects...