December 02, 2022, 09:13:00 pm

Recent posts

Pages 1 2 3 4 5 6 ... 10
31
MAPLE / Re: I can't upload with maple ...
Last post by LubOlimex - November 21, 2022, 03:21:31 pm
At the moment OLIMEXINO-GD32 comes without USB bootloader (unlike OLIMEXINO-STM32 that comes programmed with Maple USB bootloader). This means that you need to program OLIMEXINO-GD32 either via the built-in serial bootloader or use JTAG/SWD programmer or debugger tool. Another major difference is that OLIMEXINO-STM32 comes with STM32F103RB chip (20k RAM, 128k Flash) while OLIMEXINO-GD32 comes with GD32F103RC (48k RAM, 256K Flash).
32
MAPLE / I can't upload with maple Rev3...
Last post by Mantos - November 21, 2022, 01:46:39 pm
Hello


I am a beginner on the subject. This is the first time I use an olimexino-STM32/GD32 board.

I use Arduino ide 2.0.1 (the last version) on it I installed libmaple in the directory C:\Users\XXXXX\AppData\Local\Arduino15

Now my problem is that I can't upload to my board, it displays me the error :
Failed uploading: cannot execute upload tool: exec: {runtime.hardware.path}/tools/win/maple_upload.bat": file does not exist".

Do you have any idea how to solve the problem.



Thank you !
33
AM3352 / Re: Find where to sell AM3352-...
Last post by LubOlimex - November 21, 2022, 11:09:14 am
We are out of AM3352 chips. I don't think that we can manufacture AM3352-SOM soon. Maybe check at some of our distributors if they have some left at stock:

https://www.olimex.com/Distributors/
34
JTAG / Re: srst pulls trst - can not ...
Last post by LubOlimex - November 21, 2022, 11:07:05 am
I don't think that AT91SAM7 can reset in halt... AT91SAM7 can't reset in halt, this means that it will     execute code in Flash before any JTAG debugger can halt the chip.
Best to use soft_reset_halt whenever possible and use "reset init" only when JTAG gets out of sync, i.e. when target is power-cycled.

Again I recommend you to use the openocd mail lists. You won't find OpenOCD experts here.
35
AM3352 / Find where to sell AM3352-SOM
Last post by ngohoan - November 21, 2022, 10:36:08 am
Hello everyone,

I need to buy AM3352-SOM module for my project. But unfortunately I couldn't find any in stock. So please help me
Thanks
36
RT5350F / Re: Flash Image Ubuntu 18.04
Last post by SAbadshah - November 21, 2022, 09:57:46 am
Also, keep in mind that the OpenWrt version you are using, which is linked on the Olimex wiki, is quite outdated. Ever since the mainline OpenWrt project added full support for the RT5350F-OLINUXINO boards, using that version is likely to yield better results and, most importantly, better support from the OpenWrt community.
37
JTAG / srst pulls trst - can not rese...
Last post by ganeshaperumald - November 21, 2022, 07:03:40 am
JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x3)
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target state: halted
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x200000f3 pc: 0x000001fc
requesting target halt and executing a soft reset
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x200000d3 pc: 0x00000000
Bad value '00000001' captured during DR or IR scan:
 check_value: 0x00000009
 check_mask: 0x00000009
JTAG error while reading cpsr
in procedure 'reset'
in procedure 'ocd_bouncer'
in procedure 'ocd_process_reset'
in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 248
in procedure 'at91sam7s.cpu' called at file "embedded:startup.tcl", line 370
in procedure 'ocd_bouncer'
38
ESP32 / ESP32-POE will not reliably bo...
Last post by justlikeef - November 21, 2022, 02:39:51 am
I have two boards that I successfully flashed esphome to, but after running for several minutes, they will no longer boot and will not flash.

one of them crashes immediately after boot:
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:258]: Log initialized
[C][ota:469]: There have


and the other does this over and over:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff



Attempting to flash either gives one of several errors:

A fatal error occurred: Failed to connect to ESP32: No serial data received.
Invalid head of packet (0x0D): Possible serial noise or corruption.




I have tried various baud rates and placing various combinations of the 10mf cap and 2K resister between en and 3.3 and en and ground.  I don't have the capability of replacing the surface mount resister, but I can work with someone to troubleshoot.

I have replaced the USB cable and tried a powered hub.  Putting a scope on the 5V pin looks pretty stable.
39
ESP32 / Re: ESP32-EVB Ethernet restart...
Last post by MeisterQ - November 19, 2022, 02:55:17 pm
So ive uploadet the Code yesterday afew times and with this delay, the restarts are less, but still present.

What could i do?
40
ARDUINO / Arduino Mega wiring with ADS12...
Last post by JTapio - November 18, 2022, 09:12:07 pm
Hi everyone.

I tried to search within forum / Github repo(s) for a solution but could not come up with one yet.

I am truly a beginner with microcontrollers but I have managed to wire Load Cell => HX711 => Arduino Mega so I have been able to measure loads after calibration.

Now I am trying to wire Load Cell => Olimex ADS1220 => Arduino Mega
My project goal would be to get data rate of 1000sps for my project which would be used in Physiotherapy/Sports to measure knee extension torque output against time (usually intervals like 50ms, 100ms, 150ms, 200ms etc. being used).

With current wiring / code I just seem to get arbitrarily jumping values, no matter if I change to lower gain and/or data rate => No response to load cell tension/pressure.


For some reason I think I have issue with wiring in overall(?)

Currently my sample code has been:
#include <ADS1220_WE.h>
#include <SPI.h>

#define ADS1220_CS_PIN    7 // chip select pin
#define ADS1220_DRDY_PIN  6 // data ready pin

ADS1220_WE ads = ADS1220_WE(ADS1220_CS_PIN, ADS1220_DRDY_PIN);

void setup() {
  Serial.begin(9600);
  if (!ads.init()) {
    Serial.println("ADS1220 is not connected!");
    while (1);
  }

  ads.setCompareChannels(ADS1220_MUX_1_2);
  ads.setGain(ADS1220_GAIN_128);
  ads.setOperatingMode(ADS1220_NORMAL_MODE);
  ads.setDataRate(ADS1220_DR_LVL_6); // Goal would be to get 1000sps, hence level 6
  ads.setVRefSource(ADS1220_VREF_REFP1_REFN1);
  ads.setVRefValue_V(5.0);
  ads.setLowSidePowerSwitch(ADS1220_SWITCH);
}

void loop() { 
  Serial.println(ads.getVoltage_mV(), 3);
  delay(500);


Current wiring as follows:

Load Cell ADS1220
Red (Excitation +)IN0
Green (Signal +)IN1
White (Signal -)IN2
Black (Excitation -)IN3

Load Cell GND wire has been attached to Arduino Mega GND (At least load cell instructions say it is GND wire)


ADS1220 Arduino Mega
AVDDPin 5V
VDDPin 5V
CS#Pin 7
DRDY#Pin 6
DOUTPin 50
DINPin 51
CLKPin 52
GNDGND

I have been unsure about two AVSS pins. I have connected them to GND on Arduino Mega but also have let them float free. This has not influenced the current issue in any way.

Load Cell specifications

Brand/MakePushton PSD-S1-100kg
Full scale output2.0 mv/V
Input impedance350 +/- ohm
Output impedance350 +/- ohm
Insulation resistance>= 5000
Excitation Voltage5V
Maximum Excitation12V


Any help for the newbie is welcome, thank you!
Pages 1 2 3 4 5 6 ... 10