cancel
Showing results for 
Search instead for 
Did you mean: 

SPC58xExx_RLA Network Ping Test Application crashes with _unhandled_exception2

febe2
Associate II

Hello,

I have imported the sample application "SPC58xExx_RLA Network Ping Test Application". 

I am using this Hardware:

  • Processor: SPC58NE84C3
  • Evaluatuion Adapter Board:  SPC58XXADPT292S Rev. C 
  • Evaluation Base Board:  SPC58XXMB Rev. D

I am using SPC5 Studio, version 6.0.

My Jumper configuration is according to the Readme.txt:

  • For SPC58XXMB:
    • wire pin P10[7] with pin P10[10] (that is: PC[7] with PC[10])
    • J18[12] Mounted RXCLK
    • J20[12] Mounted CRS/LED_CFG
    • J22[12] Mounted PWR
    • J24[12] Mounted RXER/MDIXEN
    • J26[12] Mounted RXDV/MIIMODE
    • J39[12] Mounted RXD0/PHYAD1
    • J40[12] Mounted RXD1/PHYAD1
    • J41[12] Mounted RXD2/PHYAD2
    • J42[12] Mounted RXD3/PHYAD3
    • J44[12] Mounted COL/PHYAD0
    • J45[12] Mounted TXEN
    • J46[12] Mounted TXCLK
    • J47[12] Mounted TXD0
    • J48[12] Mounted TXD1
    • J49[12] Mounted TXD2
    • J50[12] Mounted TXD3
    • J51[12] Mounted MDC
    • J52[12] Mounted MDIO
    • J61[23] Mounted MIIMODE – MII mode selected
    • J62[12] Mounted RST_SW
    • J63[12] Mounted X1
    • J64[12] Mounted X2
  • SPC58XXADPT292S:
    • J12[1-2] Mounted EVTI0
    • J13[1-2] Mounted EVTO0
    • J15[1-2] Mounted EVTI1

When I try to run the application:

  • The evaluation board shows up on my Windows Network Connection Center.
  • Pinging 192.168.1.2 gives me a response
  • After several pings, I do not get a response.
  • When I connect with my debugger, the program execution stops at "_unhandled_exception2"


I did not make any changes in the example code.

Has anybody else experienced the same issues and knows how to solve them?

Thanks in advance!

Felix

 

2 REPLIES 2
kaamsajjad
Associate

Hi Felix,

I appreciate your detailed description of the issue. It seems like the application is encountering an unhandled exception. Here are a few suggestions to troubleshoot:

Debugging
- Use breakpoints to identify the specific line where the exception occurs.
- Check the call stack to understand the sequence leading to the exception.

Configuration
- Ensure your hardware configurations match the README.txt instructions precisely.
- Double-check jumper settings on both the SPC58XXMB and SPC58XXADPT292S.

Network Stability
- Verify the network stability by monitoring for any intermittent connection issues.
- Confirm that the IP address 192.168.1.2 remains consistent.

Compiler/IDE Version
- Confirm that your SPC5 Studio version (6.0) is compatible with the sample application.

Additional Logging
- Add debug logs or print statements in critical sections to get more insight.

Community Support
- Consider reaching out to the community forums or support channels for SPC5 Studio.
- Check if others have faced similar issues with the specific hardware and application.

Remember to share any error messages or specific details you find during debugging. This will help the community provide more targeted assistance.

Kaam Dier

lamination and Printing

febe2
Associate II

Thank you for your reply! It seems like I've followed all the points you mentioned, as you can see in my post above. This response looks to me like it is generated by ChatGPT.