Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - madid87

#1
Unlike the other chips from LPC1700 family, LPC1764 has only 16kB of SRAM.
Ethernet bootloader by default uses full 16kB SRAM.

I have tried to change #define RX_DESC_BASE  to a smaller value like 0x10001000 but the bootloader is not working properly,
i.e. I can get one or two Read Device Signature commands  but on the third the MCU goes into Hard Fault. (Programming is not working of course)

I have also tried to change memory buffer configuration in emac.h. (NUM_RX_FRAG etc..)

Is it possible to use the bootloader on 16kB SRAM chip?

Please help, thank you.
#2
Hello everyone,
I'm using an Ethernet bootloader and it works. I know this because I can successfully program the Blinky example and it runs. The problem comes
when I try to program my custom application. After the execute_user_code(); function is called I always get a HardFault handler.

I have made modifications to Target dialog tab by setting IROM1 start at 0x2000 and ticked the Linker tab with "Use Memory Layout from target dialog". Memory map file shows that
my code starts at address 0x2000.

Please help me. I don't know what to try next. I cannot find any difference between the provided Blinky example and my application and yet my application doesn't work.

Best regards.