Page 4 of 4
Re: [TODO] Starting ChibiOS on STM32F107 with Keil
Posted: Tue Mar 26, 2013 8:43 pm
by Maxxie
Giovanni wrote:The frame size is set to 1522 which is the maximum. Probably it is because the IPv4 header is up to 20 bytes long.
Frame length is 1514 max. Look for this packet:
Re: [TODO] Starting ChibiOS on STM32F107 with Keil
Posted: Tue Mar 26, 2013 8:50 pm
by Giovanni
I mean, it is set to 1522 in the driver.
#define STM32_MAC_BUFFERS_SIZE 1522
Giovanni
Re: [TODO] Starting ChibiOS on STM32F107 with Keil
Posted: Wed Mar 27, 2013 1:25 pm
by Maxxie
It seems Ethernet MTU is 1500 max. in my system.
Re: [TODO] Starting ChibiOS on STM32F107 with Keil
Posted: Fri Apr 05, 2013 7:26 pm
by Maxxie
Giovanni, can you please explain IRAM2 definition in compiler options? What address is it? Why is it only 1 byte long?
Re: [TODO] Starting ChibiOS on STM32F107 with Keil
Posted: Fri Apr 05, 2013 7:42 pm
by Giovanni
Hi,
Since the free Keil compiler does not allow proper scatter files that dummy RAM section is used to calculate the end of the memory heap. In the linker tab you can see how it is used.
It is one byte long to make evident it is not an error but intentional, only the start address is used.
Giovanni