2020-12-13 07:13 AM
hi,
recently, I am try to use cubeide to directly generate a basic project for future development. In this basic project, I am trying to integrate lwip stack
I am now confused by one weird behavior, when I configure the memory for lwip internal heap usage as device type memory or strongly ordered type (TE: 00 , C: 0, B:0 or 1), then, when the program runs, hard fault will constantly occur. While if I configure the same memory as noncacheable (TE:01, C:0, B:0), then the lwip works fine, and I can get the right ping response.
I want to know why the first configuration does not work. Can anyone shed me the light? Thanks a lot