Dartmouth-Formula-Racing / DFR_CVC_2019

Dartmouth Formula Racing Central Vehicle Controller Codebase
10 stars 5 forks source link

Implement SD communication (read and write) in free rtos #13

Closed alexnewman23 closed 5 years ago

leina05 commented 5 years ago

Working on passing Elm Chan sd driver test in freertos task. having issue with multi-sector write due to pbuff memory access... triggering HardFault

Possible solutions:

leina05 commented 5 years ago

Solved multiple sector write bug!!

Going to test with different variations of buff location (in function), updates to come

leina05 commented 5 years ago

Tried it with buff inside test function... DOES NOT WORK, Hard fault. Would be good to talk to John about potential reasons for this. Seems to suggest that using task stack to hold read/write buffer for FAT doesn't work...