I am using a K40 Kinetis chip. I am trying to read from the DEFLASH. I am using the READ8 macro supplied by Freescale after I do a FlashInit(...).
I get a hard fault exception.
已解决! 转到解答。
Hi
Thanks for the information!! I have implemented your code on my TWR-K40X256 which has a PK40X256VMD100 mounted. The code runs well on my side, so I think maybe your issue is a code issue, please try the attached project and kindly let me know if the problem is still there.
Hope that helps,
B.R
Kan
Hi
Thanks for the information!! I have implemented your code on my TWR-K40X256 which has a PK40X256VMD100 mounted. The code runs well on my side, so I think maybe your issue is a code issue, please try the attached project and kindly let me know if the problem is still there.
Hope that helps,
B.R
Kan
Thanks Kan. The part # is: PK40X256VLQ100. The READ8 macro is defined in the Freescale file
SSD_FTFx_Common.h as:
#define READ8(address) | ((UINT8)(*(VUINT8*)(address))) | ||||||||
I do a FlashInit(... ) which returns no error. After that I try to read the D-Flash at the base (
| |||||||||