Skip to main content
Associate II
Question

My board doesn't start

Hi Guys, 

 

I try to write here to find suggestions to solve my issue:

I’m writing an application to drive a DC brushless motor using the evaluation board EVLSPIN32G0B2.

The application works on the EB both in debug mode and in release mode.

Now I’m trying to run the application on the final board, but it doesn’t start.

The final board has been made copying the EB scheme without the second micro, the USB parts and few other things.

What I’ve checked:

  • the voltages are correct;
  • the reset is released (high);
  • the options bytes are the same on the EB and on the final board;
  • the schemes seems to be correct (we checked them a lot of times and we don’t find errors, but obviously there must be a bug hidden somewhere);
  • The pins that on the EB are connected to J2 and to the second micro have been used for our purposes; 
  • The clock parameters should be correct;
  • In the program there are not mine functions where the flow can be stuck before the main loop where I have my traps to check if the software is running.

 

What do you suggest to check ?

 

Thank you in advance

Stefano

 

 

2 replies

Andrew Neil
Super User

Please show the schematic of this “final board”.

 

it doesn’t start

What, exactly, do you mean by that ?

Are you able to download your code ?

Have you used the debugger to see what’s going on ?

What basic testing have you done on the board: electrical? power supplies? blinky? etc?

 

PS:

See also:

 

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.
_Stefano_Author
Associate II

Hi, 

 

I though there was an error in the new schematic, but I found a bug in the software.

Now I have other issues to solve, but the board now is running.

 

Thank you for your help.

Stefano