April 25, 2024, 03:28:22 PM

Recent posts

#81
TERES DIY Laptop / Re: Development of Teres-2
Last post by kreyren - March 29, 2024, 04:27:36 PM
Quote from: DiTBho on March 20, 2024, 05:34:51 PMJust checked, the pinetab2 uses the Rockchip RK3566 SoC

Afaik the reason why OLIMEX didn't provide the RK3399 and RK3566 is that they were very unreliable software-wise (afaik they release the chip and then rely on the community to mainline them while not providing sufficient amount of documentation?) and tsvetan not wanting to support that as the resulting mainline is often very problematic and takes long time to get implemented in a way that is acceptable in industrial settings (OLIMEX's main focus)

For me in terms of arm architecture only use Cortex A7/53/55 and consider everything else garbage due to the CPU vulnerabilities, but i plan on supporting all chips as long as the required docs to make boards for these are available or unless someone wants to do the adventure of reverse-engineering them and contributing that (that's what the SOM management is meant to be for)
#82
JTAG / Re: Faulty ARM-JTAG-SWD?
Last post by Artem - March 29, 2024, 04:16:39 PM
Yes, that's true but I didn't know that ::)  Actually, I've found that the tag-connect cables which we have at work are also non-standard with respect to default SWD pinout, but are specific to Atmel-Ice. I cut off the key on the debugger-side connector and tested our custom boards with Olimex Tiny - everything works fine for SAMD21 as well. Thank you for your products and for support!
#83
JTAG / Re: Faulty ARM-JTAG-SWD?
Last post by LubOlimex - March 29, 2024, 02:28:50 PM
Glad about the news.

I think Microchip's/Atmel's is reversed  :) : https://www.bigmessowires.com/2018/06/13/atmel-ice-wiring-horror/

There is schematic on page 7 but this is not the PCB. We know how it looks in the schematic but it can be the opposite on the PCB, depending on the footprint of the connector. What I mean with simple words is that on the same pinout you can place the notched plastic differently also it is possible to connect the cables in reverse.
#84
ESP32 / Re: Esp32-POE-ISO
Last post by LubOlimex - March 29, 2024, 02:01:44 PM
Where do you apply 5V? To the 5V and GND pin of the EXT connector?

It is good idea to measure the voltage between the grounds of your 5V power supply and the GND pin of the UEXT connector before applying the 5V DC supply to the ESP32-POE-ISO. You should also measure that voltage when the ESP32-POE-ISO is powered by the POE and before attaching the 5V DC supply to the EXT. This would exclude any chance of a problem between the grounds of your external power supply and network equipment.
#85
STMP1 / Re: Olimex STMP1 SOM - Error s...
Last post by LubOlimex - March 29, 2024, 01:41:42 PM
Here, this image has AXP209 and PMU removed from u-boot and kernel, give it a try:

https://ftp.olimex.com/TEMP/SOM-NO-AXP209/STM32MP1-OLinuXino-SOM-bullseye-minimal-20240328-133932.img.7z

Again:

QuoteOne workaround is to exclude any AXP209 initialization from u-boot and kernel, the AXP209 still hangs but the board would boot all the time (you'd lose access to any features of the PMU tho, like power management, battery status, etc). It is not clear if it is safe to exclude the AXP209 entirely since it controls a lot of things - like voltage on chip, voltage on HDMI, etc. It might be unsafe to disable the AXP209. Disabling the AXP209 from u-boot or kernel might lead to bigger issues and problems in the long run. More empirical tests are needed to confirm if it is safe.
#86
JTAG / Re: Faulty ARM-JTAG-SWD?
Last post by Artem - March 29, 2024, 12:54:12 PM
thank you for reply. You were right! Here's output from simple ping:

Info : FTDI SWD mode enabled
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 400 kHz
Info : SWD DPIDR 0x0bc11477
Info : [at91samc21g18.cpu] Cortex-M0+ r0p1 processor detected
Info : [at91samc21g18.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for at91samc21g18.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : [at91samc21g18.cpu] external reset detected

I also managed to program our bootloader to the Sammy, so everything is fine  8)

However, I'm still curious regarding the pinout mismatch. Does Olimex suppose mirrored connector soldering compared to Atmel, or do I misunderstand something?

I soldered all our Sammy boards which we have at work according to the cable which we have for Atmel-Ice. Olimex cable from JTAG-SWD adapter also works fine for the Atmel-Ice and Sammy. We also use Tag-Connect cables for our custom boards with SAMD21, which works fine with Atmel-Ice but failed with Olimex (haven't tried to modify the cable yet, but I'm sure now that the problem is again the pinout).

Moreover, the schematic on page 7 in Sammy data sheet is:

1 VTG   2 SWDIO
3 GND   4 SWDCLK
5 GND   6 (SWO)
7 (Key) 8 NC
9 GND   10 nSRST

This matches (by pin numbering) the Atmel's and Olimex' pinout, if I understand correctly.
#87
ESP32 / Esp32-POE-ISO
Last post by StevefromNewcastle - March 29, 2024, 11:42:29 AM
Just a quick question, I know the poe-iso is isolated from the usb but is it safe to power the board over 5v at the board and have ethernet POE plugged in.
If not what is the easiest way to stop the board receiving POE power?
Thanks
S
#88
A20 / Re: Interrupt EINT31(PI19)
Last post by LubOlimex - March 29, 2024, 10:18:50 AM
What image do you use? For older images you need to edit the fex/bin and define it is for that function (and remove the pin from other usages). It is similar for newer Olimage images but instead of fex/bin you need to change the DTS.
#89
ESP32 / Re: ESP32-POE no PoE function
Last post by LubOlimex - March 29, 2024, 09:28:42 AM
It can be anything. We empirically test every ESP32-POE board manufactured with PoE powering. But ESP32-POE is easy to get damaged since the PoE and USB are not insulated. If you had ESP32-POE and any device with own power supply attached together, the board might get damaged. We've also found that some very cheap network equipment with poor power supply can damage ESP32-POE over the Ethernet when USB is present and even when PoE is not enabled, we measured 40-50V DC between Ethernet's GND and USB's GNB. Also:

- measure the voltage between the grounds of all hardware pieces before connecting them;
- consider having USB-ISO between the USB and the board (or similar USB isolator), this would eliminate possible influence between USB and network equipment; make sure your switch uses good power adapter with proper transformer;
- be careful with the surface you place the boards on during testing, some surfaces are conductive (also the ESD plastic bags are conductive);
- be aware of electrostatic discharge, try using ESD strap when handling the boards (the boards have ESD protection, but still some serious discharge can damage them); we handle bare boards with gloves and use anti-static mats to place them over;
- consider switching to ESP32-POE-ISO if many ESP32-POE boards get damaged in your hardware setup;

If it was me I'd first test with another cable, then with another switch.

#90
ESP32 / Re: ESP32-EVB-EA-IND Rev K - S...
Last post by LubOlimex - March 29, 2024, 09:00:48 AM
Did you configure your code for 1-bit SD mode?

Did you try our demo for the SD card:

https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ESP-IDF%20examples/sd_card