hybridfree/eevblog-posts huggingface dataset:
any iSCSI TargetCLI for LIO, written in C? - Page 1
Forum section: electronics / general

author: DiTBho
author_rank: Super Contributor
timestamp: December 04, 2024, 08:52:37 pm
content: Code:sys-block/targetcli-fbThis stuff is written in python and I can't justify python in my embedded applicaiton.It has a lot of dependencies (gentoo terms), long story, simply I don't have enough resources and time to fix them.Therefore I need a command-line interfacewritten in Cfor configuring the LIO generic SCSI target (iSCSI target), present in >3.* Linux kernel versions.I am on kernel 6.1*, and 6.12.*

author: DiTBho
author_rank: Super Contributor
timestamp: December 06, 2024, 04:51:37 pm
content: nowadays, too many things use python, even subversion has a lot of dependencies on python
SD-card resistant to power outage - Page 1
Forum section: electronics / general

author: Karel
author_rank: Super Contributor
timestamp: October 09, 2024, 03:12:03 pm
content: The Raspberry Pi branded cards are made by Longsys, and were tested by running over 100,000 "surprise power cycles" while under a heavy I/O load.https://www.tomshardware.com/raspberry-pi/raspberry-pi-release-faster-branded-class-a2-micro-sd-cards-and-bumper-case-for-raspberry-pi-5
Cytrence Kiwi - Unique KVM solution - Page 1
Forum section: electronics / general

author: SwiftEcho
author_rank: Newbie
timestamp: September 13, 2024, 04:38:40 pm
content: Hello Everyone,We (Cytrence) are a small startup making unique and innovative gadgets. We just launched our first product Cytrence Kiwi! It is an advanced USB KVM solution that basically turns your laptop into the keyboard/mouse/display for your embedded devices.Kiwi is the perfect companion for your Raspberry Pi 5. You don't need a display, a keyboard and mouse for the Pi any more. And you can take your Pi with you anywhere and not worry about how to connect it to a display.Compared to traditional KVMs, Kiwi's is more portable, can be set up easily and more straightforward to use. You don't need to press a button to switch computers. You switch to another window on your laptop to use the other computer. And you can always keep an eye on the other computer since its screen is just another window on your laptop.Compared to remote IP based KVM, Kiwi has better performance, requires no setup at all and is less expensive.Check out the Kiwi video here:and our websitehttps://www.cytrence.comfor the use cases.If you're interested, we’re currently running a launch promotion, and you can use the code KIWI-86236510-P5 for an additional 5% off.
Does anyone here still know about pSOS? - Page 1
Forum section: electronics / general

author: david.given
author_rank: Contributor
timestamp: March 26, 2023, 11:24:51 pm
content: I'm trying to read the PHILE and PHILE+ file systems (I have a floppy disk flux-level reader project, and someone has shown up with some weird m68000-based SBC running pSOS, which runs off floppies). The official documentation (the 'pSOS System Concepts' PDF) has just enough hints in it that I've managed to reverse engineer just enough of it to be able to read some files, possibly correctly, but there's alotof weird numbers and edge cases I don't know anything about.Does anyone have any pointers? Not just documentation, but existing tooling for creating and reading these filesystems would be invaluable too. I did see a web reference to one once but like an idiot I didn't save the link and now I can't find it again!

author: eutectique
author_rank: Frequent Contributor
timestamp: March 27, 2023, 09:28:26 pm
content: Would these documents be of any distant help?http://bagfed.free.fr/pSOS/PSOS_System_Calls.pdfhttp://bagfed.free.fr/pSOS/PSOS_Programmers_reference.pdf

author: david.given
author_rank: Contributor
timestamp: March 27, 2023, 10:25:40 pm
content: Thanks, but sadly not! The document the API side of things and I'm really looking for the implementation side.I did hear that pSOS was open source at once point, but if so I can't find any trace of it. I amsurethere must have been some tools for accessing PHILE filesystems from PCs at one point. It really doesn't help that lots of people on the interwebs use both 'psos' and 'phile' for all kinds of other stuff. They should be more considerate, dammit.

author: SimonR
author_rank: Regular Contributor
timestamp: April 17, 2023, 08:46:20 pm
content: Do you still need this? I have some information on Phile that I could try and scan

author: david.given
author_rank: Contributor
timestamp: April 18, 2023, 01:00:33 pm
content: Yes, please! Apart from anything else, there seems to be very little information on PHILE on the internet and it's in grave danger of vanishing completely...

author: fenugrec
author_rank: Frequent Contributor
timestamp: March 06, 2025, 06:05:41 pm
content: Note : links on bagfed.free.fr are dead; webarchive has not scraped those PDFs. At some point the website may have moved to 'www.bagfed.net' but that is also dead today.Found an alternate source for those PDFs athttps://roffe.nu/psos/PSOS_Programmers_reference.pdfhttps://roffe.nu/psos/psos_system_call.pdfWonder if someone has early 90's version of the source code...
Synopsys DWC2 (USB OTG Controller) documentation - Page 1
Forum section: electronics / general

author: SiliconWizard
author_rank: Super Contributor
timestamp: August 28, 2024, 07:59:55 am
content: Does anyone know of any means we can get ahold of the DWC2 documentation (registers and their use) without having to sign with one's blood?I have found a few implementations (source code, in particular in the Linux kernel, in TinyUSB, ...) but having the official doc would be great.Thanks.

author: SiliconWizard
author_rank: Super Contributor
timestamp: September 04, 2024, 12:12:51 am
content: Thought so. But it doesn't hurt to ask.I found various pieces of documentation in ref manuals of MCUs/MPUs embedding a DWC2 core (like STM32 MCUs).And then source code, in particular the implementation of the DWC2 driver in the Linux kernel. Also support in TinyUSB, although for the latter, it doesn't seem to support DMA (unless I missed it). But that's always some complementary info.Synopsys seems to have done a very good job at securing their documentation. I haven't found a single leaked manual of this online. (But if you do, don't hesitate to let me know.) They must be pretty serious with enforcing confidentiality.You apparently need to be a customer to register for an account that allows you to download docs. Didn't find a simple way to register if you are not a customer.

author: luudee
author_rank: Frequent Contributor
timestamp: September 04, 2024, 02:26:07 am
content: You must have a license for the USB controller to get access to the documentation. It is not included with the standard DW package.luudee
Piccolo/ (Unknown) Singe Board Computer - Page 1
Forum section: electronics / general

author: dans34
author_rank: Newbie
timestamp: June 26, 2024, 12:41:02 pm
content: Trying to track down a vga header for an unknown single board computer (the header is thiner than the standard ones you can buy for motherboards & older style gfx cards , ive attached some other images of the same board) google doesnt bring up any listings other than some seller in china selling just the bare mainboard for $500 ishOr atleast im assuming the black header is vga , the white one is marked KBMS1

author: tunk
author_rank: Super Contributor
timestamp: June 26, 2024, 03:09:11 pm
content: I think I would first find the ground pin(s) with a multimeter,and then use a scope on the other pins to find vertical andhorizontal sync, and RGB.

author: coromonadalix
author_rank: Super Contributor
timestamp: July 16, 2024, 06:04:37 pm
content: try cpu-z and read the bios information ..or check in the bios settings for logo image boot option, sometimes a company logo can or could be displayed ??

author: coromonadalix
author_rank: Super Contributor
timestamp: August 03, 2024, 04:07:57 am
content: if you have external links of where you see this mobo and more pictures it could helpon ebayhttps://www.ebay.com/itm/JPR-PICCOLO-2NBP-RNCF-R108-V1-0-By-DHL-or-EMS-With-warranty-G4M-XH-/153903668925?Atom 1.6ghz based ...
replace fm25w128 by w25q128 ? - Page 1
Forum section: electronics / general

author: bledad
author_rank: Newbie
timestamp: January 16, 2025, 03:32:18 pm
content: Hello ,can i replace a flash bios chips fm25w128 by w25q128 ??https://www.semiee.com/file2/a39de55fa41a1dd2d79cab05447d0c27/FuDan/FuDan-FM25W128.pdfbyhttps://www.alldatasheet.com/datasheet-pdf/view/1243793/WINBOND/W25Q128JVSIQ.htmlthank you
Orange Pi 3G-IoT-A, need connect a cheap screen via MIPI. - Page 1
Forum section: electronics / general

author: Postal2
author_rank: Frequent Contributor
timestamp: July 25, 2024, 07:31:04 am
content: Need information about compatible and cheap LCD. The displays from Raspberry (MIPI, based on TC358762XBG) and from the phone (based on MT6582) do not work. The display clock is 200 MHz. I see data flow to LCD from Orange.

author: Nominal Animal
author_rank: Super Contributor
timestamp: July 26, 2024, 07:36:39 am
content: Did you notice the"At present, the Linux system do not support modem and LCD screen"in theOrange Pi Wiki? You need to use Android image for the LCD output to work; the standard Linux image won't do for you.For displays, my go-to would be to check out the EastRising/BuyDisplayIPS TFTs with MIPI interface, and check for compatibility (via the display panel controller specs; their datasheets are included in the product pages). However, there are none of those corresponding to the default Orange Pi 3G-IoT-A display resolution, FWVGA = 854×480, although5" 480×854 using ST7701should work if you had a 40-pin to 24-pin FPC adapter with a suitable pinout.It seems your best bet is to find an official Orange Pi 3G IoT display (which also uses ST7701/ST7701S controller):orangepi.com/orangepi.org.

author: Postal2
author_rank: Frequent Contributor
timestamp: July 26, 2024, 07:26:26 pm
content: Quote from: Nominal Animal on July 26, 2024, 07:36:39 amI know about the lack of screen support in Linux, I planned to use Android, there is also a source code for it. The original screen is not available on Aliexpress. It is good that the ST7701 chip is known, but in 854x480 screens the chip is unknown, moreover, not every phone with such a screen has a diagram to make the correct soldering. In addition, the display that I checked has LCD_ID1,2,3 - that is, the chips can be different. I even think that my screen is suitable, it's just that the LCD_ID on the Orange PI board is fixed for a single type of display. One way or another, I need to run the screen on this Orange. 854x480 screens from phones are very cheap, I can't even believe that no one could connect. An expensive screen does not make sense for this board.
Graphical Calculators running basic - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: May 03, 2024, 12:18:29 am
content: Hi there!!What's the story, on Grahical Calcultors.Im thinking on purchasing one, and I'm not sure, which one to buy??Tah, Simon.

author: djsb
author_rank: Super Contributor
timestamp: May 03, 2024, 05:13:41 am
content: I'm not sure if the latest calculators are going to run BASIC. TI has many OLDER calculators (such as the TI89 PLATINUM etc) that run TIBASIC. The latest TI NSPIRE CX CAS runs python. Not sure about other brands.

author: simon christo
author_rank: Regular Contributor
timestamp: May 03, 2024, 02:35:04 pm
content: Thanks, for your reply,Simon.

author: RAPo
author_rank: Super Contributor
timestamp: May 03, 2024, 03:56:23 pm
content: The HP-prime has TI-basichttps://youtu.be/FJwkoDKlh8Q

author: simon christo
author_rank: Regular Contributor
timestamp: May 04, 2024, 05:50:02 am
content: Ill, check it out,Thanks Simon.

author: DiTBho
author_rank: Super Contributor
timestamp: May 04, 2024, 12:10:08 pm
content: GW-BASIC like? -> SHARP PC-E500

author: simon christo
author_rank: Regular Contributor
timestamp: May 05, 2024, 03:21:18 am
content: I had a post, a while ago, on USB C connectors not locking in.Some people would have seen it.Anyway, I found so much dirt and grime in the socket - on the Mobile, that it desperatly neededa clean-out.After, loosining the dirt, and using Compressed Air (drained from containing Water),it locks in fine!!Probally, using a Old Medium Toothbrush, to 'prod' the dirt out, wouldn't go astray.Tah, Simon.
Arduino MKR Zero and ILI9341 graphics library large fonts are too blocky looking - Page 1
Forum section: electronics / general

author: Jester
author_rank: Frequent Contributor
timestamp: June 29, 2024, 07:47:17 pm
content: I'm using the AdaFruit ILI9341 libraries. with a 240x320 display. Small fonts are fine, however when using for example font size 5, some characters an "X" and "Z" are good example of the blocky apperance.I tried unsuccessfully to get the PaulStoffregen fonts library working but it does not appear to work at least not with my setup and MKR Zero.Does anyone know of a working MkrZero / ILI9341 fonts library with nicer looking large fonts or suggestions on a solution.Much appreciated, Jester

author: Lindley
author_rank: Regular Contributor
timestamp: July 01, 2024, 07:39:31 pm
content: Worth a look at this ytube -https://www.youtube.com/watch?app=desktop&v=L8MmTISmwZ8
Rpi Zero 2W - power supply drop - shutdown and boot hw circuitry - Page 1
Forum section: electronics / general

author: iMo
author_rank: Super Contributor
timestamp: February 05, 2024, 09:29:54 am
content: Hi, after I had spent weekend with my new toy, I faced the reality of an "unexpected" power loss and resulting damaged sdcard (read only now)So I've tried thishttps://gist.github.com/lbussy/9e81cbcc617952f1250e353bd42e7775and it seems it works, with Rpi still usb powered, the single touching the gpio3 against gnd (via 100ohm, there is an 1k8 pullup for i2c) does shutdown and the next touch reboots back.Now, not to invent the wheel, did somebody made (or is aware of) a wiring such a comparator looks at the 5V input drop, issues the signal, while the Rpi will be powered off a supercapacitor during the shutdown, for example?The headless minimal wifi OS config here takes aprox 12secs to shutdown, thus the supercapacitor has to be pretty large, though..
Milk-V, pin-to-pin compatible RPI-CM4, but RISC-V! - Page 1
Forum section: electronics / general

author: DiTBho
author_rank: Super Contributor
timestamp: November 03, 2023, 10:49:01 am
content: it can't compete in terms of performance (5-6 times slower than a RPI-v4)it's pretty decent in terms of energy efficiencywhat makes it interesting for me is the ePCI lane and the compatibility with CM4 mobosSeehere

author: brucehoult
author_rank: Super Contributor
timestamp: November 03, 2023, 12:15:39 pm
content: Re performance, even Yearling's wildly inappropriate use of GeekBench 6 to benchmark it shows that when running generic C code it is close to a Pi 4.For example on the Clang test the Pi CM4 does 358 single core, 788 multi core, while the Mars CM does 248 single core, 839 multi core.So the Mars CM is actually faster with both using all four cores.The big performance difference in favour of the Pi is on the benchmarks (most of GeekBench) that use NEON or crypto. The U74 cores in the Mars CM don't have any SIMD or vector facility. RISC-V's Vector ISA was not published until November 2021, while the U74 core is from October 2018.If you want to compile and run portable C code then it's fine.

author: woofy
author_rank: Frequent Contributor
timestamp: November 03, 2023, 01:00:51 pm
content: Jeff Geerling recently did a review of this module:https://youtu.be/RhPKZ5JpbHw?si=oZK31nMw8o1EgrPC

author: DiTBho
author_rank: Super Contributor
timestamp: November 03, 2023, 06:32:48 pm
content: Quote from: brucehoult on November 03, 2023, 12:15:39 pmI pre-ordered (purchased?) two modules but have not yet received them, I "trusted" some reviews about the performance. There are people who say it performs badly.I just noticed though that the Debian they used has some problems.(they say, don't update the system, LOL)I remember some time ago having created a particularly unfortunate Gentoo/MIPS stage3, which, due to an error in the profile (MIPS4 is experimental, especially for R12K), had been compiled so badly that everything was 5 times slower.Fixed the problem, recompiled everything, it splintered like a rocket!-Thanks for your feedback!At the moment, I'm more interested in being able to exploit the PCIe lane, excellent for adding peripherals to Haiku/RISC-V

author: SiliconWizard
author_rank: Super Contributor
timestamp: November 03, 2023, 08:34:55 pm
content: Yes, the main performance difference will be seen if you use vector FP instructions. Then the difference is quite big. If you don't even use FP, or only lightly (nothing computationally intensive), then this RISC-V CPU is probably a pretty adequate replacement.
Raspberry Pi IPO - Page 1
Forum section: electronics / general

author: EEVblog
author_rank: Unknown
timestamp: January 31, 2024, 05:48:42 am
content: Raspberry Pi IPO: are they selling out?

author: Berni
author_rank: Super Contributor
timestamp: January 31, 2024, 06:15:47 am
content: Oh great, queue the nonsense shareholder pleasing ideas, like shoving AI into it for no reason and banner ads on the boot screen that you can remove with a subscription license.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 31, 2024, 06:32:57 am
content: Oh, yes. Their new IC (RP3?) will probably be some kind of AI accelerator.
Bare-metal AM335x programming. - Page 1
Forum section: electronics / general

author: Postal2
author_rank: Frequent Contributor
timestamp: August 15, 2023, 03:18:39 pm
content: I connected to display IQAN-MD4 and made some steps to play with it. I wrote bootloader for it and now present my results. Enjoy.https://www.parker.com/content/dam/Parker-com/Literature/Electronic-Controls-Division/Literature-files/IQAN-MD4_instructionbook_UK.pdf
NUC replacement.... - Page 1
Forum section: electronics / general

author: Gibson486
author_rank: Frequent Contributor
timestamp: October 05, 2023, 02:25:09 pm
content: Not sure of this is the correct forum, but we currently use an Intel NUC 11 and Intel does not want to say what is gonna happen to it after the Asus transition. We use the TN variant because of the internal serial port header. Mouser says they do not have any indication that the NUC11 is gonna get killed off, but the Intel website says it is due to be discontinued by the end of the year. Anyone have any ideas of decent replacements that are just as small and cheap? I could just waive the serial port header requirement, i could just get the PA variant, which Asus already supports....it seems like the idea of dedicated RS232 serial is numbered unless I pay Advantech some serious money. If I waive the serial port requirement, does this essentially mean I need to rely on USB to serial converters?Edit...Mouser just updated their website....now marked as EOL:(

author: eleguy
author_rank: Regular Contributor
timestamp: October 05, 2023, 07:25:51 pm
content: In the previous company we used so called fit-pc. Those are more rugged than nuc(s).

author: Postal2
author_rank: Frequent Contributor
timestamp: October 07, 2023, 07:14:18 pm
content: Quote from: Gibson486 on October 05, 2023, 02:25:09 pmI bought this one:https://aliexpress.ru/item/32839489621.htmlOne year uptime without any problem, cpu is j1900, 4G ram is OK, but I set 8G because struggled with freezing, I win over with disable energy-saving in bios.

author: MarkF
author_rank: Super Contributor
timestamp: October 07, 2023, 09:51:36 pm
content: I've been looking at these:MINISFORUMSimilar form-factor as the NUC. Don't know if any has a serial port.
Introducing ArmSoM-CM5: A Powerful, Compatible Alternative to Raspberry Pi CM4 - Page 1
Forum section: electronics / general

author: armsom-jackson
author_rank: Newbie
timestamp: September 11, 2024, 07:12:55 am
content: Hi everyone,We’re excited to announce the release of our latest board, theArmSoM-CM5. This module is designed to be electrically and mechanically compatible with the Raspberry Pi Compute Module 4 (CM4), making it an ideal choice for those looking for a more powerful alternative.Key Features:Rockchip RK3576 SoC: At the heart of the ArmSoM-CM5 is the Rockchip RK3576, featuring a 6 TOPS AI accelerator embedded in the SoC.High Performance Memory & Storage: The module offers up to 16GB of LPDDR5 memory and up to 128GB of eMMC storage.Wireless Connectivity: It comes equipped with a WiFi 6 and Bluetooth 5.3 module.Power Management: A dedicated PMIC is included for efficient power management.Compatibility: The module features two 100-pin connectors that are mostly pin-compatible with the Raspberry Pi CM4.Additionally, we’re providing aCM5-IO carrier boardto unlock extra USB 3.0 and PCIe interfaces. For those who already have the official Raspberry Pi CM4 IO board, rest assured that we’ve successfully tested our module with it.Open Source Resources:To support your development, we will be providing the following files:- Carrier board schematic source files- Carrier board PCB source files- Carrier board and core board schematic PDFs- Chip datasheets- Core board 2D CAD files- Carrier board 2D CAD filesAt ArmSoM, our goal is to provide better services to electronic engineers, hobbyists, and tech enthusiasts, helping you DIY imaginative and innovative products. We believe the ArmSoM-CM5 offers a powerful and versatile solution, particularly for those already invested in the Raspberry Pi ecosystem.We will be actively monitoring this thread and are here to answer any questions you may have. Looking forward to your thoughts and feedback!

author: armsom-jackson
author_rank: Newbie
timestamp: September 11, 2024, 07:48:14 am
content: For more information, please visithttps://docs.armsom.org/armsom-cm5.

author: armsom-jackson
author_rank: Newbie
timestamp: September 11, 2024, 08:56:05 am
content: All of our hardware documentation is available here:https://drive.google.com/drive/folders/1u1ayZzNv0wlE5TpJhuqHYWU6YCiGeC-GWe hope these resources will be helpful to all the geeks out there!

author: SiliconWizard
author_rank: Super Contributor
timestamp: September 11, 2024, 08:57:11 am
content: Doesn't look bad. What's the pricing for say the 8GB and 16B versions?

author: armsom-jackson
author_rank: Newbie
timestamp: September 11, 2024, 10:12:53 am
content: CM5 Basic:8GB LPDDR564GB eMMCSample price is $103https://www.armsom.org/product-page/cm5
Allwinner A64 Single Board Computer Project - Page 1
Forum section: electronics / general

author: ThreeNamesGrace
author_rank: Newbie
timestamp: May 08, 2023, 01:13:03 am
content: Hello, I am doing a Single Board Computer with Allwinner A64 CPU chip and with the K4B4G1646D DDR3 RAM memory modules. I chose those components because they are really cheap and their shipping to my country is really inexpensive. So far, I uploaded the symbols and their footprints to Kicad, now I am wiring the RAM memory to the CPU, but I found some issues that I couldn't figure out how to deal with them:There are 15 pins for the address bus in the memory chip, while there are 16 pins on the CPU.There are 32 pins in the CPU for reading and writing data to the memory, but the memory only has 16, how do I know the order in which I should wire the pins?2 chip selects in CPU (I plan to use 6 RAM chips to have 3 GBytes of space, as that is the maximum stated in the datasheet); should I look for another brand of memory modules? Use a SODIMM memory chip for laptops instead? Or look for another CPU?As far as I researched, in the CPU user manual is mentioned "32-bit DDR2" and "16-bit DDR3", but neither the user manual nor the datasheet mention what is the bit order for 16-bit DDR3.
[SOLVED] Cross-compiling for armv5tel? - Page 1
Forum section: electronics / general

author: Winfried
author_rank: Contributor
timestamp: March 30, 2023, 08:26:48 am
content: Hello,For other platforms, NoIp providesthe sourceof their client.It look like it can't be compiled forarmv5tel:Code:wget https://dmej8g5cpdyqd.cloudfront.net/downloads/noip-duc_3.0.0-beta.6.tar.gztar xf noip-duc_3.0.0-beta.6.tar.gzcd noip-duc_3.0.0-beta.6curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup: unknown CPU type: armv5telHow easy is it to install the toolchain on a PC running Linux, andcross-compile?Code:mkdir /home/pi/noipcd /home/pi/noipwget https://www.noip.com/client/linux/noip-duc-linux.tar.gztar vzxf noip-duc-linux.tar.gzcd noip-2.1.9-1sudo makesudo make installsudo /usr/local/bin/noip2sudo noip2 ­-S (Capital “S”)Thank you.--Edit: Updating can be doneover the web. I'll just write a script.
Pickit3 programming PIC18F26Q10 - Page 1
Forum section: electronics / general

author: Picuino
author_rank: Super Contributor
timestamp: April 14, 2020, 01:25:55 pm
content: I'm trying to program the new microcontroller of Microchip PIC18F26Q10 with PICKIT3 tool.My IDE is MPLABX v5.10 and doesn't allow to select the programmer PICIT3.The datasheet of PIC18F26Q10 show the pickit 3 as a valid programmer.And the pickit3 works fine with other microcontrollers.¿Somebody knows what is the problem?

author: jaromir
author_rank: Unknown
timestamp: April 14, 2020, 01:32:34 pm
content: Q10 devices are fairly new, MPLABX 5.10 was released in November 2018, you may want to upgrade.

author: oPossum
author_rank: Super Contributor
timestamp: April 14, 2020, 01:33:25 pm
content: It is supported in MPLAB 5.35

author: Picuino
author_rank: Super Contributor
timestamp: April 14, 2020, 01:46:44 pm
content: Ok, MPLABX upgraded to version 5.35...Pickit3 works fine.Thanks a lot.

author: Picuino
author_rank: Super Contributor
timestamp: April 17, 2020, 11:16:48 am
content: I have already received the PICs 18f26Q10 and I am trying to program them.When I try, I get two error messages from PICKIT3:Target Device ID (0xe300) is an Invalid Device ID. Please check your connections to the Target Device.After that, the pickit program the device and appears other verify error:Address: 300000 Expected Value: 2922 Received Value: 2954Failed to program deviceDespite everything, the program works:Code: (c)#include <xc.h>#pragma config FEXTOSC = HS#pragma config RSTOSC = EXTOSC_4PLLvoid main(void) {while(1) {TRISCbits.TRISC4 = 0;LATCbits.LATC4 = 1;LATCbits.LATC4 = 0;}}And the pin C4 shows a signal of 2MHz.Why do errors appear?

author: spostma
author_rank: Regular Contributor
timestamp: August 21, 2020, 09:06:17 am
content: Please have a look at the Pickit Plus software:https://www.eevblog.com/forum/microcontrollers/pickit-plus-for-pickit2-and-pickit3-programmers/It is actively maintained, and adds support for MANY new PICs and even AVR processors.I am very thankful to Evan Venn and his team for making and maintaining this software;they deserve all support from the eevblog forum users by buying their excellent software...They did what Microchip shuold have done for their 8-bit microcontroller programmers!

author: Mark Use Blender00
author_rank: Newbie
timestamp: June 17, 2023, 09:34:16 am
content: this comment helped me 3 years later
Orange Pi 5 Mini Review - Page 1
Forum section: electronics / general

author: Andrew_Debbie
author_rank: Frequent Contributor
timestamp: March 18, 2023, 03:44:10 pm
content: I've been using an OrangePi 5 (OP 5) as my primary desktop computer for a few weeks.Despite the name, the OP 5 is NOT a RaspberryPi4(RP4) clone. It is a different form factor. RP4 operating system images do not work. It can do many of the same things as a RP4 and more.The Hardware is impressiveconsidering the price. I paid just over $100USD including tax and shipping to the UK.Rockchip RK3588S SOC with4 A76 Cores, 4 A55 cores and a Mali G610 GPU. 2.2GHz clock rate.4, 8 16 or 32GB of LPDDR. My ~$100 board has 8GB RAM.16MB SPI flash with u-boot.The 100x62mm OP5 board is slightly larger then an RP4.PortsFull Size HDMI Port.Two USB C ports, one is used for power input.One USB 3.0, two USB 2.0 but one is shared with the USB-C port.Gigabit EthernetMicro SD FlashM.2 NVMESSD slot (2242 maximum size)3 Camera Ports2 LCD3-pin audio. On board microphone.3-pin serial TTL debug port26-pin general purpose I/O header. The I/O header is not pin compatible with RP4 hats.2 LEDs. In normal operation the red LED is power and the green is heartbeat.Power Switch, recovery swtich, mask rom switch.No WiFi. I normally run with Ethernet. I tested a USB WiFi dongle which worked. There is a supported M.2 PCIe WiFi card but then you can't use the slot for an SSD.My board is in a heatsink case and does not need a fan. Hardly gets warm. Power consumption is around 5W when streaming 4K video. Most of the time it is lower.SoftwareThe RP5 is new. I think the first round of boards on AliExpress shipped December 2022 or January 2023.The vendor supplied "Ubuntu" is useless. The root user is enabled with no way to change the password. You need to load up their OS once to reconfigure the boot loader to enable the M.2 slot. I haven't used OrangePi "Ubuntu" since then.I've been running Armbian 23.02https://www.armbian.com/orangepi-5/. The most recent stable build is decent. It can play 4K YouTube videos that choke an overclocked RP4.Armbian 23.02 for OP5 is built around a vendor hacked kernel 5.10. Hardware accelerated video needs Chineese panfork-mesa and G610 drivers.Support for the RK3588S is in mainline Kernel 6.3 and maybe 6.2. Eventually there should be an Armbian that is free of the frozen 5.10 kernel supplied by OrangePi. Until then I'm not 100% comfortable with the security.Most or many apps just work. I was able to install KiCad 6 through the usual apt install commands.Having the OS on an M.2 SSD is so much faster then an SD card.I tried using an RP 4 as an everyday desktop PC and it was painful. The OP 5 is fine. It is faster then the 6 or 7 year old Apple computers I normally use for linux.OrangePi 5 left, RP4 right. Different form factor. Different GPIO header.
multi user solutions - Page 1
Forum section: electronics / general

author: GilbertWaltoon
author_rank: Newbie
timestamp: March 08, 2022, 08:21:14 pm
content: Hi,Has anyone got any advice on ready-made cloud solutions that allow multiple users to visualise distinct IOT sensor data?I'm working on an (Esp32) sensor gadget that's targeted at home users. I'd like users to be able to visualise their sensor data on their phone, tablet etc. Of course one approach is to write an e.g. Android-app for users to download and use to communicate with their sensor (over say Bluetooth). But obviously that approach comes with a lot of app. development overhead.Alternatively, sensors could stream data to a cloud server (via MQTT say). But then I'm struggling to picture how this would work with multiple users. Suppose I sell 1000 devices. I'd want each person to be be able to visit a webpage and see only the data for the sensor they purchased.From my limited searching, I'm aware providers like AWS, Azure offer lots of support for e.g. over-the-air software updating etc. Also, platforms like Thingspeak allow me visualise data for a fleet of sensors that Ipersonallyown.But again, what I want is for a (non-tech-savvy) person to buy my gadget, take it home, then visit a website to view their data. Has anyone got any tips on providers that offer easy solutions for this?thanks for any advice

author: ralphrmartin
author_rank: Frequent Contributor
timestamp: March 09, 2022, 04:47:00 pm
content: You could try looking at Blynk - it may be what you are after. I used it a while back for a personal project, and it seemed OK, but IIRC, it is supposed to scale up for business uses like yours.

author: FlyingDutch
author_rank: Regular Contributor
timestamp: March 11, 2022, 01:16:42 pm
content: Hello,you can try thingspeak.com - they have free solution with resonable frequency and data sampling. The best advantage is that user can use Matlab for data visualisation (for free). Here is link:https://thingspeak.com/Best Regards

author: Chat GPT
author_rank: Contributor
timestamp: March 08, 2023, 10:48:25 am
content: there are several cloud solutions that allow multiple users to visualize distinct IoT sensor data. Here are a few options:- AWS IoT Analytics: This cloud solution from Amazon Web Services allows you to collect, process, and analyze IoT data from multiple sources.- Microsoft Azure IoT Hub: This cloud solution from Microsoft allows you to collect and analyze data from IoT devices.- Google Cloud IoT Core: This cloud solution from Google allows you to securely connect and manage IoT devices.- ThingSpeak: This is an open-source IoT platform that allows you to collect and analyze data from IoT devices.- Ubidots: This cloud solution allows you to collect, store, and visualize IoT data. It includes a drag-and-drop dashboard builder that allows you to create custom dashboards and share them with other users.These are just a few examples of cloud solutions that allow multiple users to visualize distinct IoT sensor data. When choosing a solution, consider factors like ease of use, scalability, cost, and security.
SAME54: manually disabling WDT? - Page 1
Forum section: electronics / general

author: fearless
author_rank: Contributor
timestamp: March 07, 2023, 02:22:01 pm
content: Be careful what you ask for: you might just get it.In my last post, I asked how to enable the watchdog timer on the SAME54. I seem to have succeeded, but all too well: when I try to erase the chip using the Segger J-Link, J-Link Commander reports that it times out after 4.158 seconds, which is suspiciously close to the 4096 mSec that the WDT is set to.So my MCU is effectively bricked. I suspect that the WDT is getting enabled at reset even though that wasn't my intention. Can someone guide me through the steps of manually writing the NVM bits to disable the WDT?UPDATE: Looking at the NVM sector, 0x00804048 is the WDT Enabled byte and 0x00804049 is the WDT Always-On byte. Those values are loaded at reset into the WDT register. I used SEGGER J-Link Commander to reset those to 0 (their defaults), so theoretically they should be disabled. But this didn't make a difference: erase still times out.

author: ataradov
author_rank: Super Contributor
timestamp: March 07, 2023, 05:33:24 pm
content: When debugger is attached, the values in the user row are ignored. It is not really possible to brick those devices using regular actions.And usually debuggers would reset the device on the first connect, so anything firmware did before the debugger got attached should not matter.Something else is going on. If you have any CMSIS-DAP compliant debugger (you can make one from RP2040), then you can try my low level toolhttps://github.com/ataradov/edbgAlthough if ALWAYSON was set at any point while device was powered, then I guess it would not be cleared. Read the user row and check what values are set. You can disable that bit in the UR and then power cycle the device.Read the raw page data, some tools like to invert the meaning of bits (set/cleared vs written/erased). And you need to fully power cycle the device after the write, simple reset would not work.
ANDROID MOBILE BURNING DVD's - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: February 11, 2023, 11:31:50 pm
content: Hi there!! I know it a little ambiguous, but I don't know, which is the best app to use for this purpose, or if it's worth it at all!! It's just a little like a Spy Movie, it's good to have if you need it...Thanks Simon.

author: Nusa
author_rank: Super Contributor
timestamp: February 12, 2023, 09:35:03 am
content: Describe the hardware you have first. First problem is most phones don't have the power resources to run DVD drives long enough to matter. Then you'll likely need to find drivers. As for apps, no idea...I've never tried to do this.

author: xmris
author_rank: Contributor
timestamp: February 12, 2023, 11:48:17 am
content: maybe is possible if your phone supports USB OTG, there are OTG Y-cables, they provide power to the external device, you may try with eg termux (terminal app with linux commands) - there is 'udftools' on the packages, maybe your phone needs to be rooted (eg to use the udftools or even 'dd' on the external DVD/CD)update:had some time with 'termux' , /dev/ access is via root only , so rooted phone is a must (YMMV as eg some finance/banking apps refuse to run on rooted phones)

author: rteodor
author_rank: Frequent Contributor
timestamp: February 12, 2023, 06:54:06 pm
content: This should be simple in theory: kernel support for USB and SCSI /dev/sr0 and cdrecord on Android. External powered writers are easy to find.In practice ... idnk.
DVD BURNER CONNECTOR TYPE - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: February 11, 2023, 12:05:20 pm
content: Hi Folks!!!Please see the Attached Picture, of the rear of a DVD Burner.The Conductors Width & Pitch are the same on both sides.The First is 6 Way and the other is 20 way.I don't think it's SATA, maybe IDEPS : How do the Smiley's above work, do they show up to the reader like a GIF file ??It just explains the expression as a word, from this end.Thanks Simon.

author: DavidAlfa
author_rank: Super Contributor
timestamp: February 11, 2023, 12:19:44 pm
content: It's laptop SATA. Left part is the data bus, right side is for power.

author: Psi
author_rank: Super Contributor
timestamp: February 11, 2023, 12:20:26 pm
content: are you absolutely sure that longer one is 20-way ?

author: Monkeh
author_rank: Super Contributor
timestamp: February 11, 2023, 12:21:54 pm
content: That's bog standard SATA. It's even stamped on the case.

author: Psi
author_rank: Super Contributor
timestamp: February 11, 2023, 12:28:20 pm
content: It looks like standard SATA like you would find on a HDD.It's no slimline opticaldrive SATA, as that has different keys.But he says the bigger one is 20 way which makes no sense to me. The bigger side is normally 15.Sometimes they can be super tight and make you think its the wrong connector.

author: mariush
author_rank: Super Contributor
timestamp: February 11, 2023, 12:37:39 pm
content: Standard SATA data and power connectors.It's even printed on the white plastic ... S1 to S7 for sata data segment (s probably being short for Signal), P1 to P15 for the 15 contact SATA power connector.SATA power comes from power supply, sata data goes into a sata port in motherboard using a generic sata cable.If power supply is so ancient as to not have sata power connectors, you can use molex-sata adapter cables, this one's an example :https://www.digikey.com/en/products/detail/assmann-wsw-components/AK-SATA-PC-015/951597IDE is two rows of 20 pins, at 0.1" spacing, with 1 pin sometimes missing (it's unused, has a role of key, to prevent you from inserting the ide cable the wrong way.
Process management - Page 1
Forum section: electronics / general

author: Kittu20
author_rank: Regular Contributor
timestamp: January 28, 2023, 03:27:20 pm
content: Hi all,I am reading below page but I do not understand the information given on it.https://en.m.wikibooks.org/wiki/The_Linux_Kernel/ProcessingI don't understand what information is provided under the title Process.

author: eutectique
author_rank: Frequent Contributor
timestamp: January 28, 2023, 05:05:40 pm
content: Did you read the section calledProcesses?Google suggests 2 billion results toos processsearch.

author: tggzzz
author_rank: Super Contributor
timestamp: January 28, 2023, 08:56:44 pm
content: Quote from: Kittu20 on January 28, 2023, 03:27:20 pmI've had a quick look at the other topics you have started. Like eutectique, I strongly suggest you learn how to use Google to get a first answer.Why? Have a look at the references inhttps://entertaininghacks.wordpress.com/library-2/good-questions-pique-our-interest-and-dont-waste-our-time-2/
[SOLVED] [newbie] How do pins work? How to talk with sensors? - Page 1
Forum section: electronics / general

author: Winfried
author_rank: Contributor
timestamp: November 06, 2022, 10:10:37 am
content: Hello,I have two newbie questions:1. I see that on boards, the same I/O pin has different names (eg. IO17 = I/O/T, RTC_IO17, DAC1, ADC2_CH6, UART1_TX). I would like to understand why. Does each pin use a different voltage + current? Can each only be used for a specific task?2. It seems there are several protocols to talk to a sensor (Modbus, I2C, SPI, UART, possibly others.) Is there a good article that explains the differences, and how to work with each?FWIW, I need to interact with a sensor through the serial port (UART?).Thank you.

author: pcprogrammer
author_rank: Super Contributor
timestamp: November 06, 2022, 10:28:07 am
content: Within a microcontroller there can be many peripherals having different functions. Like UART, SPI, I2C, timers, etc. To make things more flexible most also have a way to connect one of these peripherals to an io pin. These are often called alternate functions.That is why you see multiple signal names next to an io pin. It can be one of these functions based on the settings in the MCU.You are misusing the term protocols in your second question. I2C, SPI, UART, CAN, etc. are hardware interfaces that connect your MCU to a sensor. It then depends on the sensor what the communication protocol over this hardware interface is.Modbus on the other hand is a protocol. It can work on top of some of the hardware interfaces mentioned above.Without knowing which sensor you want to connect with, there is no good referral to be made.

author: Psi
author_rank: Super Contributor
timestamp: November 06, 2022, 10:41:29 am
content: In the old days you only had one feature per pin. But it was annoying because if you didn't need that feature those pins were totally useless to you. Also you could only have as many features in the chip that you had pins to use for them.So they decide to routed the signals to all pins with internal switches that you can control in software.Then they can add even more features and you can select the ones you need and connect them to the pins that suit your design.

author: Winfried
author_rank: Contributor
timestamp: November 06, 2022, 01:24:03 pm
content: Thanks very much.This pagealso makes it clear that different components on a board share pins.It's to communicate with aCO2 sensor("Communication: UART (Modbus)")

author: WattsThat
author_rank: Frequent Contributor
timestamp: November 06, 2022, 02:49:30 pm
content: Don’t overlook the fact that the one UART of the ESP32 is used for the USB connection. That is needed to get your firmware image loaded into the device and for serial prints to the console for debugging.Low speed serial devices like your sensor will usually work ok with “software serial” were the UART hardware functionality is duplicated with software.
Any value in an RPi 1? - Page 1
Forum section: electronics / general

author: MikeK
author_rank: Super Contributor
timestamp: October 01, 2022, 06:38:07 pm
content: I have the opportunity to get a used RPi 1 from someone for $20. Not sure if it's A, A+ or B. I don't think the owner knows which one either. Are these still useful for anything? I've never used one before so I guess the price could get me acquainted. Matthias Wandel on YouTube has used one of the newer ones to run experiments and collect data from load sensors and cameras and such...Would the RPi1 be able to do that? Should I throw my money elsewhere?

author: ledtester
author_rank: Super Contributor
timestamp: October 01, 2022, 06:59:36 pm
content: It'll work as Matthias uses it. He uses the I2C and SPI interfaces to talk to ADC modules for the data collection. The RPi doesn't have any built-in ADC units so those will be an additional cost.Microcontroller boards like the Arduino or the various ESP32 offerings can be a cheaper way to get into data acquisition. For camera data, though, the RPi is better as it has more CPU power.

author: MikeK
author_rank: Super Contributor
timestamp: October 01, 2022, 07:13:41 pm
content: I have an ESP32, but I though it might be nice (and useful) to have something with an OS. And RPi can run Python and shell scripts, so that might be good as well.

author: Ian.M
author_rank: Super Contributor
timestamp: October 01, 2022, 07:27:10 pm
content: Pi (1 to 3) A models are rather less useful due to the lack of connectivity. B models give you an onboard USB hub + Ethernet. OTOH an A (or Pi Zero) can be programmed to be a USB slave device.The original Pi had the same processor and RAM as the Pi Zero, and 70% of the performance, so if you aren't using the extra I/O pins can be used for similar stuff.

author: wraper
author_rank: Unknown
timestamp: October 01, 2022, 07:35:47 pm
content: It's more than for what Pi 1 model B sells on ebay, model A is worth even less. It's useable for a lot of things but compared with more recent models totally sucks if you need to use UI.

author: MikeK
author_rank: Super Contributor
timestamp: October 01, 2022, 07:36:50 pm
content: Thanks guys.
How do I disable or redirect the console (UART0) output to a file? - Page 1
Forum section: electronics / general

author: betocool
author_rank: Regular Contributor
timestamp: September 02, 2022, 12:06:22 pm
content: Hello all,I thought I'd fine clear information online how to do it, but I admit all this u-boot and linux kernel stuff has me confused in some things. Some other, not so much... it's a learning process.I built a Cyclone V Linux image with Uboot using Buildroot and was able to customize a bunch of things to my liking. Most of it going very well.Now, after start up, I'd like to either:- Disable the Console output- Move to Console output to ttyUSB0 (which in some cases may or may not be connected...)- Redirect the Console or dmesg outputs to a file, so I can have a look at them after a reboot.Thing is I want to use UART0 and UART1 for my own purposes and the additional ports (ttyUSB for example) in case I need the console. I can always log into the unit via SSH, so I don't necessarily need the console output.Is it possible to do any of the three above? I guess. Where do I find information about /dev/console, which at the moment is the same as /dev/ttyS0 ?Any pointers are very welcome.Cheers,Alberto

author: magic
author_rank: Super Contributor
timestamp: September 18, 2022, 10:20:27 am
content: A bit late to the partyApparently there is an IOCTL for changing the console device at run time, or if you want it changed right at the beginning of the boot process set theconsole=kernel parameter. For saving kernel log to a file, simply rundmesg >file.txtat the beginning of your init scripts.https://unix.stackexchange.com/questions/397700/how-to-change-the-console-tty-after-bootinghttps://www.kernel.org/doc/html/v5.0/admin-guide/kernel-parameters.htmlThedmesgutility can disable printing kernel messages to the console, but any program can open /dev/console and print something there. On some systems all software may run with its stdout and stderr pointed to /dev/console.editI read the man page and I'm not sure if the IOCTL changes the console device or just redicects kernel messages elsewhere. Maybe the boot parameter is the only way.

author: eutectique
author_rank: Frequent Contributor
timestamp: September 18, 2022, 09:51:37 pm
content: Do you have/var/log/syslogand/var/log/dmesgfiles?