June 02, 2020, 03:55:06 pm

Recent posts

Pages 1 2 3 4 ... 10
11
A20 / Listen to interrupt (NMI-pin) ...
Last post by kittysoman2013 - May 31, 2020, 12:30:11 pm
Is there a way to get the state of the NMI_N gpio-Pin in Linux(debian)?
I use it to power up the system and would like to add a shutdown script as well.
Thanks for your time.
12
A20 / Re: mpv don't use hardware acc...
Last post by fivuf - May 31, 2020, 10:24:22 am
for reference, an active thread on armbian forum which talk about what i want to do:

https://forum.armbian.com/topic/13622-mainline-vpu
13
A20 / Meanwell rs-15-5 power supply ...
Last post by mbosschaert - May 31, 2020, 12:24:02 am
Recently I've had to bury a harddisk as it has crashed irrecoverably. I suspect that the cause was that the power supply for the complete system (OlinuXino + HD) was not sufficient and too many disk errors have culminated in fatal disk failure.

Googling for power supplies I stubled into the Meanwell RS-15-5 power supplies. Depending on where you buy them (even at non-China online shops) they have reasonable prices(https://www.reichelt.de/schakelvoeding-15w-3a-5v-snt-rs-15-5-p137080.html?&trstct=pos_0&nbc=1).

Is there anyone who knows these power supplies and what is the experience.

14
AVR / AVR-ISP-MK2 and AVRDUDE EEPROM...
Last post by BuriedCode - May 30, 2020, 10:42:44 pm
Hi, first post, so sorry if I miss something.

I searched the forum and found plenty of posts about your AVR-ISP-MK2 and getting it working with AVRDUDE and AVR studio but I couldn't find a post relating this specific problem.

I bought this programmer off ebay, so I do not know its firmware, however, it works flawlessly with Atmel Studio 6.2, and with AVRDUDE 6.3 (using AVRDUDESS, the GUI v2.11).
 
AVRDUDE 6.1 and earlier however, fails to recognize that the programmer is plugged in.

So, the problem is, it appears it cannot write to the EEPROM of an ATMEG8535.
Writing the flash, fuses and lock bits all verifies nicely, and without fail.
Writing to the EEPROM provides the following output:

avrdude.exe: reading input file "C:\xxxx\yyyy.eep"
avrdude.exe: input file C:\xxxx\fyyyy.eep auto detected as Intel Hex
avrdude.exe: writing eeprom (32 bytes):

Writing | ############avrdude.exe: stk500v2_command(): warning: Command timed out
avrdude.exe: stk500v2_paged_write: write command failed
###################################### | 100% 1.14s

avrdude.exe: 32 bytes of eeprom written
avrdude.exe: verifying eeprom memory against C:\xxxx\yyyy.eep:
avrdude.exe: load data eeprom data from input file C:\xxxx\yyyy.eep:
avrdude.exe: input file C:\xxxx\yyyy.eep auto detected as Intel Hex
avrdude.exe: input file C:\xxxx\yyyy.eep contains 32 bytes
avrdude.exe: reading on-chip eeprom data:

Reading | ################################################## | 100% 0.02s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0008
             0x08 != 0x64
avrdude.exe: verification error; content mismatch

avrdude.exe done.  Thank you.
 

I'm fairly sure it has been able to write to the EEPROM a couple of times - only when it was the first thing I did in AVRDUDESS, but now it consistently fails.

So just as a summary:
AVRDUDE v6.3
AVRDUDESS V2.11
MCU: Atmega8535-16PU
Programmer: AVR-ISP-MK2 form Olimex
Target power: From programmer (4.3-4.5V).

Things I have tried:
- Providing an external power supply, 4.9V (removing jumper on AVR ISP providing target power).  No change.

- Using a cheap USBasp board from aliexpress.  Works fine, for flash, eeprom, and fuses.

- Testing flash, eeprom, fuses and lock bits in Atmel Studio 6.2: Works flawlessly.

I wouldn't normally post about something relatively minor and specific, but I wanted to provide colleagues with a "back up" host software for configuring legacy hardware, and I was hoping AVRdude would be it (rather than having to install the rather large Atmel Studio 6.2 for flashing one device). 

Just wondered if anyone had a similar problem.  This isn't urgent or anything.
15
ESP32 / Re: ESP32-EVB ethernet looses ...
Last post by MaxWimmreuter - May 30, 2020, 08:36:56 pm
Thank you for your suggestions.

I never experienced any issues with ethernet port after a reset, also in a "normal" enviornment everything worked without any porblems.
The solenoid and EPS32-EVB are about 2 Meters apart. Should be enough

I just ordered a basic RC snubber module, since I can't mesaure the coil inductance for calculating the exact values.

A SSR might also work, but I want to keep the dual pole switching for safety reasons.

Next week I will also try one of those external relay boards with optocupplers.
16
A20 / Board working test
Last post by kittysoman2013 - May 30, 2020, 12:44:45 am
Hi,
I bought an A20-OLinuXino-Lime board. I was wondering if there is any test I can do to find out whether the board is working other than connecting to a screen.
17
TERES DIY Laptop / Re: Upgrade to 18.04 LTS
Last post by Тони - May 29, 2020, 11:24:19 pm
Quote from: baffo32 on May 10, 2020, 10:56:07 pmreflash with A64 (does that work?)

It doesn't. While a Teres-specific image is still not there, I have installed Debian with the installer.
18
TERES DIY Laptop / Re: teres and android
Last post by Тони - May 29, 2020, 10:33:30 pm
Quote from: lambda on April 25, 2020, 12:57:35 pmto finally be able to use all those closed source apps

Software solutions
20
ESP32 / Get More power from ESP32-POE ...
Last post by parth_155 - May 29, 2020, 09:25:18 pm
Hello,

We are planning to use ESP32-POE or ESP32-POE-ISO as our control system for our upcoming products. Data sheet says it can provide 4 watts of power. Most of our sensors need 5 Watts of power.
As we understand  SI3402 can provide 13+ Watts. What is bottleneck? Is there anyplace on board where we can solder wire and pull more power? We don't need regulated 5V or 3.3V power, we have switching regulator in our sensors that can accept 3.3V to 48V input.
Pages 1 2 3 4 ... 10