November 22, 2024, 06:40:48 AM

Recent posts

#1
FPGA / SPI only, or NVCM also?
Last post by Hugh Aguilar - Today at 06:28:27 AM
I haven't read though this section of the forum, so please pardon me if this question has already been answered.

Does your iCE40HX8K-EVB allow programming through NVCM, or only SPI?

SPI can be written to many times, so it is for development. NVCM is write-once so it is for the production version. The problem with SPI is that it can be read, and there is a tool available for decompiling this into Verilog, so the design can be reverse-engineered.

What I would like to do is get a processor running on the HX8K. This would be a superset of the 65c02 ISA (a few extras, such as multiplication and access to RAM beyond 64KB). Being 65c02, my compiler for the NEO6502 could also generate code for this. And of course I would have a heartbeat timer, that the NEO6502 sorely lacks!

I don't want to have my design in SPI though, because it would just get reverse-engineered. Red China is the primary problem, but there are bad actors in the Western world too. I don't want to put a lot of work into this, then find somebody selling an HX8K board that does something useful and uses my processor design and my compiler. I'm not an altruist --- I don't want to help people make money.
#2
ESP32 / Re: ESP32-EVB Relay rating
Last post by LubOlimex - November 21, 2024, 02:11:01 PM
#3
ESP32 / ESP32-EVB Relay rating
Last post by iredcraft@gmail.com - November 21, 2024, 12:17:02 PM
Hey there! I recently acquired a brand new Olimex ESP32-EVB-EA-IND board for a project, in which I want to switch a low-current 230v signal through one of the relays on the EVB.

The product description talks about a 15A@230V AC rating, but, having received the board, the installed RECOY LEG-5F relays only have a rating of 15A@120V AC written on them. The datasheet however suggests that 230v are possible.

I need some clarification on this so I can proceed with my project, so help is greatly appreciated. Sorry if this is a noob question!
#4
ESP32 / ESP32-PRO with arduino: using ...
Last post by valhalla - November 21, 2024, 09:48:27 AM
I'm trying to use the SD card slot on the ESP32-PRO; I'm using version 3.0.7 of the ESP package (but I've also had the same issues with previous versions).

This is the basic minimal code I'm using for these tests

#include <SPI.h>
#include <SD.h>

File logfile;

void setup() {
    Serial.begin(115200);
    Serial.println("Starting");
}

void loop() {
    Serial.println("Starting loop");
    // I'm starting the SD in the loop so that I can see the serial prints in the monitor
    if (!logfile) {
        if (!SD.begin()) {
            Serial.println("SD could not begin, do we have any error?");
        } else {
            logfile = SD.open("test.log", FILE_WRITE);
        }
    }
    if (logfile) {
        logfile.write('t');
        logfile.flush();
        Serial.println("Wrote to test.log");
    }
    delay(10000);
}

And, with Core Debug Level: Error they result in the following message:

08:21:29.645 -> Starting loop
08:21:29.942 -> [202764][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:29.942 -> [202770][E][sd_diskio.cpp:761] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
08:21:30.273 -> [203079][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:30.273 -> SD could not begin, do we have any error?

From file:///home/valhalla/Downloads/ESP32-PRO_Rev_B1-3.pdf I believe that the SD CS pin is connected to pin 13, so I also tried to change the above code to SD.begin(13), but I had the same error, and the same happened by adding the following code to esplicitely select the pins:

SPI.begin(14, 2, 15, 13);
SPI.setDataMode(SPI_MODE0);

any hints on what I could be doing wrong?
#5
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by LubOlimex - November 21, 2024, 08:20:07 AM
You should evaluate A64-OLinuXino, it is a mature board we also release Olimage Linux image for it. The only downside of the board is that there is multiplexing between the Ethernet and the LCD, so if you want to use LCD and Ethernet at the same time it might be a deal breaker.

Additionally I believe that the A64 chip has no CAN (unlike the A20 chip which has built-in CAN support). So any CAN module should be external.

I don't think we are making A64 SOM board.
#6
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by thom_nic - November 21, 2024, 12:51:47 AM
Hey thanks for the reply!  I would consider the A64 SOC in a SOM form-factor.  It's missing CAN support unfortunately but we could use a SPI or I2C to CAN chip.  I see the A64 board is industrial temp rated which we need.  We evaluated the A13-SOM but found it had poor thermal performance (and the A13 is not industrial temp rated anyway.)

If you released an A64-SOM I would definitely purchase a couple for evaluation.
#7
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by Titomax - November 20, 2024, 06:16:23 PM
Hi Lub,
I confirm that also using ID "10234" from "T2-SOM204-1Gs16Me8G-MC-I" all is working as expected.

As workaround for my issue I'll start using this procedure.

Thank you for your support.
#8
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by Titomax - November 20, 2024, 12:54:25 PM
Quote from: LubOlimex on November 20, 2024, 12:04:47 PMBetter try with the ID of T2-SOM204-1Gs16Me8G-MC-I.

Ok, I didn't use "T2-SOM204-1Gs16Me8G-MC-I" because I thought that wasn't possible specify a configuration with a different hardware mounted.

Let's me try also with ID you suggested.

I'll give you a feedback.
#9
A20 / Re: virtual temperature measur...
Last post by LubOlimex - November 20, 2024, 12:34:59 PM
There is no true DAC (aka analog output) on Allwinner A20 chip, the only DAC is related to the audio but not sure if you can use it for task you want. I guess you need DAC for that task.
#10
A20 / Re: T2-OLinuXino-LIME2-e16Gs16...
Last post by LubOlimex - November 20, 2024, 12:04:47 PM
Better try with the ID of T2-SOM204-1Gs16Me8G-MC-I.