Assembling PCB and components

HAPCAN installation tips and troubleshooting when assembling, commissioning and configuring devices.
Rozwiązywanie problemów z instalacją HAPCAN, budową, uruchamianiem i konfiguracją urządzeń.
Post Reply
Claude_Detier
Posts: 12
Joined: 28 Jun 2021, 18:30

Assembling PCB and components

Post by Claude_Detier »

Hello all, I'm new to the HAPCAN world. Jacek has helped me great but I'm having some issues that are better shared.
I'm not sure if already posted here since I see a mix English/Polish and sorry, I don't know Polish. Here goes topic nr. 1:

For 7 out of 9 boards that I bought (a mixture of UNIV 3, eg. RELAY 3.2.4, RGB, ETH UNIV 3.102.0.x etc...), I seem to be able to get the 5V on ICSP (CPU voltage) but I fail the CPU clock test (R and LED). (This R and LED work fine at 5V and I'm using the PWD module to give me 24V output).
I've now started testing all the connections with the diagram and seem to be all ok.
I do have 2 other boards unfinished; where evolution shows 1,9V --> 2,7V; (ok diode was reverse polarity); 2,7V to 5V - still need to be resolved.
So maybe the 2 problems are related and you can give me some hints how to resolve.

As last info;
TIBBO installed , firmware ok, I can reach it; but it blinks twice; meaning no connection; meaning no node discovery possible.
Jacek
Posts: 561
Joined: 17 Feb 2007, 18:00

Re: Assembling PCB and components

Post by Jacek »

Claude_Detier wrote: 30 Jun 2021, 20:54 For 7 out of 9 boards ... I seem to be able to get the 5V on ICSP (CPU voltage) but I fail the CPU clock test (R and LED).
Usually the problem lies in the quality of the soldering. Make sure you don’t have cold solder joints. Another problem may be the overheating of the components which leads to their damage. There is only one solution then - replacing. Try to attached pcb photo here - maybe we can spot the problem.
Claude_Detier wrote: 30 Jun 2021, 20:54 TIBBO installed , firmware ok, I can reach it; but it blinks twice; meaning no connection; meaning no node discovery possible.
Please give more details: at which point in the manual you got stuck, what you mean you can not reach (no ping?), etc. Ideally please make a new thread for that.
Regards
Jacek
Bartek
Posts: 326
Joined: 14 Jul 2011, 19:36
Location: Wrocław
Contact:

Re: Assembling PCB and components

Post by Bartek »

My problem with one of the devices I'm soldering myself was the short circuit between two routes - found with a multimeter with beep sound.

Make sure, the Tibio module is in Your lan IP address range. I had similar problem, the Tibio module was set to 192.168.0.100 (as far as I remember) and it colides with DHCP server starting address or something. I had to change DHCP settings in my lan router.
Claude_Detier
Posts: 12
Joined: 28 Jun 2021, 18:30

Re: Assembling PCB and components

Post by Claude_Detier »

I can reach the the tibbo from the tibbo IDE.
I just did a run (f5):

mismatch (platform requires: <SIMULATOR-3.60.xx>, target runs: <EM500W-3.60.06>).
Update the firmwaire of your target (main menu: Debug -> Select/Manage Target).
==> do I need to take action ?

so LED RJ45 ethernet port from tibbo is blinking twice: means no connection
from an IP LAN level everything is configured correctly. I don't know what to show you here.
I changed to 192.168.1.70;

Question: The first HAPCAN module the Ethernet should see is himself right?
With just the power connected he should find at least 1 node? (This to make troubleshooting easier)

I think the soldering and connection and the non-blinking are related ... what I'm thinking is there might not be a bootloader present because honestly 7 have 5V, all checked; none have that blinking LED between ports 3 and 5; and none are reachable.
What could be my next steps?
Claude_Detier
Posts: 12
Joined: 28 Jun 2021, 18:30

Re: Assembling PCB and components

Post by Claude_Detier »

this is the firmware on tibbo: univ_3-102-0-x_tibbo_EM500_v2.3.bin
I'm getting 2,4V on CANH
CANL gives me ::: -21V, difference is 24V; same as input
24kohm iso 120ohm...
Jacek
Posts: 561
Joined: 17 Feb 2007, 18:00

Re: Assembling PCB and components

Post by Jacek »

Claude,
21V on CANL is definitely too much. Please check your pcb for short circuits and other possible problems I mentioned before. You said that clock test was unsuccessful, so double check connections around the quartz.

After that please follow this manual https://hapcan.com/devices/universal/un ... v2.1_b.pdf, but instead of UNIV 3.102.0.x - Tibbo EM500 – v2.1 use the latest UNIV 3.102.0.x - Tibbo EM500 – v2.3 firmware.
This document doesn’t say anything about Tibbo IDE, so it is not needed.

When you uploaded and configured Tibbo firmware you have to upload UNIV 3 firmware. To do so, you need HAPCAN Programmer. Connect to the Ethernet module - the module should appear in the tree view window. Right click on the module and choose General settings then select Firmware upload tab, choose UNIV 3.102.0.1-rev3 firmware and click Upload.

Now your Ethernet module is ready to search the network for other modules. Before that make sure there is at least one additional module on the bus. Remember about terminators on both ends of the bus.
Regards
Jacek
Claude_Detier
Posts: 12
Joined: 28 Jun 2021, 18:30

Re: Assembling PCB and components

Post by Claude_Detier »

Thanks Jacek,
True, soldering (col bridges, short circuits,...) is always first cause.
The Ethernet module has a pecularity that I saw before (and you said "yes"; it's very close); the pin 3v3 between IC7 and C23 is touching both; but what should it do ?
reading on the top near the letter C23 should be GND, bottom should be 3V3? I'm not getting that
Can you confirm this?
Attachments
20210702_1039_001_0.000.jpg
Jacek
Posts: 561
Joined: 17 Feb 2007, 18:00

Re: Assembling PCB and components

Post by Jacek »

I’m sorry saying that, but your pcb doesn’t look good. You need to make it nice and clean similar to that:
A5455338-ABD9-474E-B3B5-DC9FE1F3E009.jpeg
A5455338-ABD9-474E-B3B5-DC9FE1F3E009.jpeg (27.37 KiB) Viewed 7092 times
According to module schematic (https://hapcan.com/devices/universal/un ... -0-x_g.pdf) I can confirm position of GND and 3V3:
7D0F2991-B8CA-45BD-B9E9-A447252CC126.jpeg
Regards
Jacek
Claude_Detier
Posts: 12
Joined: 28 Jun 2021, 18:30

Re: Assembling PCB and components

Post by Claude_Detier »

That was because I used a lot of paste and then didn't clean when taking the picture
(main reason :) ) and I also started removing the connection.
so pin 7, top of C23 and then hole are all connected ?
Jacek
Posts: 561
Joined: 17 Feb 2007, 18:00

Re: Assembling PCB and components

Post by Jacek »

Yes, they are connected as GND. The hole is called via. Vias are used to connect bottom and top copper layers together.
Regards
Jacek
Post Reply