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
Hello Srinivasan,
how's the project going? Any breakthroughs?
Please keep us posted :smileywink:
Best regards,
Monica.
Well it's going on fine. I am able to read and write to the DEFLASH.
Thank You.
Regards
GRS
(G.R.Srinivasan
Cascademic Solutions Ltd.)
Great!
Hi,
Would you please provide information about the part number of the K40 device? if you could give a code snippet regarding READ8 issue, that would be better.
Thanks for your patience!!
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 (
| |||||||||