cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F769BIT custom board - Ethernet issue

Sayan
Associate

Hi Team,

I made a custom board using STM32F769BIT microcontroller using with the DP83867 PHY in MII mode, but I am not able to ping it. What could be the possible reasons? 

I did Memory configurations for TxDecrip, RxDecrip, LwipHeap like this.

.lwip_sec (NOLOAD) :

. = ABSOLUTE(0x2007C000);

*(.RxDecripSection)

. = ABSOLUTE(0x2007C0A0);

*(.TxDecripSection)

. = ABSOLUTE(0x2007C140);

*(.LwIPHeap)

also my SRAM configuration is like this_

MEMORY

RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 496K

SRAM2 (xrw) : ORIGIN = 0x2007C000, LENGTH = 16K

FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K

I am using the 10pin STM32 debugger, but I am not able to see the stack usage there, when I press the debug button.

Is it due to code or due to the debugger? For this should I need the 20pin debugger?

 

Thanks,

Sayan Das

 

5 REPLIES 5
mbarg.1
Senior III

Does you code work on a validated board, like a Nucleo one (obvious, with legacy PY interface)?

This should tell if is a PHY problem or a coding problem.

 

Sayan
Associate

I don't have nucleo board. Is there any way to debug? 

A) your board is defective

B) your code is wrong

which one is your case?

Get one board 100% tested and test your code - later you can test your hw !!

STackPointer64
ST Employee

Hello @Sayan, and Welcome to the community!

To maximize your chances of finding a solution, please refer to How to write your question to maximize your chances to find a solution for best practices.

In particular, please include the following details in your post:

  • A schematic showing how your device is connected since you are using a custom board
  • Clear photos of your setup
  • A description of the testing, investigation, or debugging you have performed so far
  • (Optional) STM32CubeMX configuration file (.ioc)

Providing this information helps the community assist you more effectively.

Best regards,

To improve visibility of answered topics, please click Accept as Solution on the reply that resolved your issue or answered your question.
Andrew Neil
Super User

As @STackPointer64 said, more info is needed.

You haven't said what IP stack you're using - they usually have options for diagnostic output to help debug...

 


@Sayan wrote:

I am using the 10pin STM32 debugger


But have you correctly wired it?

That's why showing your schematic is essential!

 

How have you validated your DP83867 design? Previous discussions relating to DP83867:

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=DP83867%20

 

PS:

Have you checked-out TI's Product Page for the DP83867 - I can see a couple of debugging/troubleshooting guides there:

https://www.ti.com/product/DP83867E#tech-docs

https://www.ti.com/product/DP83867E#software-development

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.