hybridfree/eevblog-posts huggingface dataset:
Anyone here with experience of Magento 1.x ? - Page 1
Forum section: electronics / general

author: peter-h
author_rank: Super Contributor
timestamp: October 24, 2024, 10:14:56 am
content: Specifically I am after info on importing the CSV file for shipping rates. The shop is working fine otherwise.When M1 went to M2, everybody (all devs, including plug-in devs) seems to have deleted all docs relating to M1 and enquiries about M1 get told to upgrade to M2 and "enquire re our rates"This is the wiki, which is now deadhttps://sites.google.com/a/webshopapps.com/webshopapps-wiki/extensions/matrix-ratesWell, this is how open source software works

author: DiTBho
author_rank: Super Contributor
timestamp: October 24, 2024, 03:56:42 pm
content: Quote from: peter-h on October 24, 2024, 10:14:56 amSo, Denx professionals ask for 50 euros/hour, you usually getfree advicefrom this and other forums (not from me because you piss me off)Nevertheless every time something goes wrong -> you are ready to open stupid topics to complain about the fact that - for free - people don't satisfy your needs.Some time ago I ran a sub-Wikipedia, and I did it for 10 years, no one ever sent me a euro for a coffee, at a certain point I simply got fed up and gave up the console ... kink "oh, well, let others come forward"you for example: why don't you take over the dead wiki and start fixing it/resuscitating it/extending it etcI'm really fed up with people like youEnjoy again, my ignore list.

author: peter-h
author_rank: Super Contributor
timestamp: October 24, 2024, 05:06:28 pm
content: Glad to see you back on usual formPerhaps you forgot about google, which tells you in about 10 seconds that DiTBho is all over the internet asking for helpThat wiki is now a 404 error, so nothing to update. Digging around, it seems the original dev transferred/sold the business to another company which, like all Magento devs, is making money from M1 to M2 data transfers. That company then took the M1 matrixrates offline.This is the Magento business model. The software is free and open source. The entire ecosystem around it makes money from integration, upgrades, and admin.The guy who set up M1 for me did look at M2 (it was out then) but it was full of bugs and barely usable. But it would not save money, because nobody talks to you unless they can make money out of you.That's why I asked here if anyone uses it. This forum is about people helping each other. I've made a big number of posts here helping people too, and unlike you without being rude.Archive.org may have a copy but it is currently offline.UPDATE: it turns out that the two CSV import/export buttons were disabled, via a setting in an XML file app/code/community/Webshopapps/Matrixrate/etc/system.xml. Why, no idea! There are indications that some Magento or Matrixrates patch disabled them, because Magento has had loads of historical back doors via XSS etc and any file upload facility is a bad idea if you have that; the fact that those buttons are visible only to admins doesn't help if the attacker gets admin access.
How is a PCB represented internally in CAD? - Page 1
Forum section: electronics / general

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: August 07, 2024, 09:22:34 pm
content: I'm not a programmer, and therefore missing many fundamental notions I guess. So my question is very broad.Ignoring the schematic, how exactly is a PCB stored in memory? Is it just the netlist with all the traces added as I route? (Also let's ignore undo/redo.)Is it a linked list somehow for each node?

author: selcuk
author_rank: Frequent Contributor
timestamp: August 07, 2024, 10:36:32 pm
content: I think it heavily depends on the CAD tool. Apart from the closed source ones, this one is a documentation about KiCAD PCB file format. It has some sort of vector graphics and includes the footprint definitions as well. For example start and stop coordinates, width and layer of each track are saved as a single block (line) on the file.https://dev-docs.kicad.org/en/file-formats/sexpr-pcb/

author: tszaboo
author_rank: Super Contributor
timestamp: August 08, 2024, 01:04:27 pm
content: If you have Altium, and you open the PCB list tab, it will show something like this:Thousands of objects, different types, with over a hundred different parameters. Pads, Text, Fill, Poly, Component body, 3D object, Via, even rule violations.Example of few objects with only the first few parameters.Pad Top Layer GND C10 62.8 3.5Pad Top Layer GND C11 89.25 11.5Pad Top Layer GND C12 80.6 17.2Pad Top Layer GND C13 97.75 6

author: tooki
author_rank: Super Contributor
timestamp: August 08, 2024, 01:49:24 pm
content: Quote from: Alex Eisenhut on August 07, 2024, 09:22:34 pmWhat makes you think the object model is the same for each EDA program? Each one will have its own. And the same object model could be represented in memory many different ways, I assume. (I’m also not a programmer, but did work in the software industry for a while.)

author: nctnico
author_rank: Super Contributor
timestamp: August 08, 2024, 03:22:21 pm
content: Quote from: Alex Eisenhut on August 07, 2024, 09:22:34 pmThere are basically two approaches:1) Traces, polygons, vias have a fixed association with to a net which either gets specified by setting a property or inherited from the items they originate from.2) Traces, polygons, vias are bound to a net dynamically. Whatever component pad an item ultimately connects to, that will be the connected net.From there you can have several approaches towards storing items that make up a PCB design. I'm under the impression most CAD programs use an in-memory database to store the items. Probably with some relational links between the items themselves and a variable number of properties in order to optimise memory use and speed.Netlist checks are typically seperate processes with some crude realtime implementation in order not to slow the software down too much.
Help needed to get this snake to behave. - Page 1
Forum section: electronics / general

author: mendip_discovery
author_rank: Super Contributor
timestamp: July 03, 2024, 08:21:40 pm
content: Using python I am calling a class from another .py file to do some maths. But its adding a V at the end of it. I would like to remove the V. I have tried replace but I keep getting an error,Code:AttributeError Traceback (most recent call last)Cell In, line 85 #results.report.expanded(k=2)6 #results.expanded(0.9545)7 UoM = results.expand(k=2)----> 8 UoM_sig_digits = Number(UoM, n=2, fmt='decimal').replace('V', '')9 UoM_value = UoM_sig_digits10 #print(UoM_sig_digits)AttributeError: 'Number' object has no attribute 'replace'This is the code I am trying to run,Code:import matplotlib.pyplot as pltimport numpy as npimport suncalfrom suncal.common.report import Numbermodel = suncal.Model('f = V')model.var('V').measure([10.000070, 10.000069, 10.000069, 10.000069, 10.000069, 10.000069, 10.000069], units='volts').typeb(name='Resolution',dist='uniform', unc=0.5, units='microvolts').typeb(name='Thermal EMF', dist='uniform', unc=0.3*2, units='microvolts').typeb(name='Spec % of reading', unc='0.0035%', k=2, units='volt').typeb(name='Spec % of range', unc='0.0005 %range(10)', k=2, units='volt')model.calculate_gum()results = model.calculate_gum()UoM = results.expand(k=2)UoM_sig_digits = Number(UoM, n=2, fmt='decimal').replace('V', '')print(UoM_sig_digits)I can get it to spit out 0.00035 V but as soon as I try a replace it gets funny. The Number is a class.

author: ledtester
author_rank: Super Contributor
timestamp: July 03, 2024, 09:43:59 pm
content: QuoteI would try first converting the Number object to a string and then using the .replace method.Using the str() functionmightwork, e.g.:Code:UoM_sig_digits = str(Number(UoM, n=2, fmt='decimal')).replace('V', '')However, I am suspicious of having to convert UoM to a Number in the first place -- what do you get if you convert UoM to a string?What do you get if you print the type of UoM?Code:print(type(UoM))Using the built-infloat()function might convert UoM to a float:Code:print("%.2f" % float(UoM))Also - it would be very helpful to have the documentation for the suncal module.

author: mendip_discovery
author_rank: Super Contributor
timestamp: July 04, 2024, 06:30:05 pm
content: So converting to a string was the solution.UoM type was <class 'pint.Quantity'>the other was <class 'suncal.common.report.Number'>Suncal is from Sandia Labs PSL,https://github.com/sandialabs/suncal/which is a handy program for solving Uncertainty and other things.I got it to work by turning it into a string.I plan to calculate UoM on the readings I do on the 34401A as I do them on the fly. I Just realised once I know the temp I can also calculate thermal EMF on the fly as well.Thank you for your help.
ATMLU EEproms Marked ATMLU identification - Page 1
Forum section: electronics / general

author: ste222
author_rank: Newbie
timestamp: May 02, 2020, 11:20:44 am
content: Hi allHad a few eeproms marked as ATMLU**** and couldnt find what they were.... but on research found the second row of numbers under the ATMLU*** top number is the ATMEL Truncated code......... below is a list i have done .. ...the code can be found from the atmel data sheets but the problem is you have to really know the atmel number first...... so a lot of data sheet trawling to get the truncated number google returns a few on a search but not many hope that helps peopleSo if you have an AMTLU chip the second numberunderthe ATMLU*** is the truncated part number so try a search for..... truncated code **** eg 2GB will return AT24C1024 if your luckysearchatmel truncation code 2GBATMEL ATMLU TRUNCATION CODEAT24C512B 2FBAT24C256B 2EBAT24C128C 2DCAT24C256C 2ECAT25128B 5DBAT25256B 5EBAT24C08 O8AT24CM01 2GAT93C46D 46DAT24C16C 16CAT24C01 O1CAT24MAC402 P4AT24MAC602 P6AT24C512C 2FCAT24CS04 N4AT24CS08 N8AT25320B 5BBAT25640B 5CBAT24CM02 2HAT24HC04B H4BAT25010B 51BAT25020B 52BAT25040B 54BAT25512 5FAT24CS01 N1AT24CS02 N2AT24C1024 2GB 2AT24C32D 32DAT24C64D 64D

author: 2X
author_rank: Frequent Contributor
timestamp: June 17, 2024, 07:55:17 pm
content: AT24C32C - 32C
Updating the bing maps api of a exe application  - Page 1
Forum section: electronics / general

author: Rishles69@
author_rank: Regular Contributor
timestamp: June 06, 2024, 05:25:29 pm
content: I was trying to make a projecthttps://www.elecfreaks.com/blog/post/arduino-gps-map-navigation-system.htmlThe website included a exe file for getting maps which is powered by bing maps api. The problem i was facing with the app is, when i tried to draw and download, it says "download error <N>" the app is in chinese and actually the website is different that i can't post here as it leaks ip address. So i read the forums and understood, the app has old version of bing maps. So how can i update it? Here is the App and the arduino code on a zip and the location of the app is software support/ release.rar/ release/ maptile.exe . i have few days left for this and a quick help helps me a lot. Thanks.
Trying to make this app work as intended  - Page 1
Forum section: electronics / general

author: Rishles69@
author_rank: Regular Contributor
timestamp: June 02, 2024, 01:12:41 pm
content: I need a small help with a map drawing app. So I was making a GPS map thing using a display and stuff fromhttps://www.elecfreaks.com/blog/post/arduino-gps-map-navigation-system.html. (You can get a "softwareGPS.zip" file from the bottom of the page I posted. The problem is with the app included in the zip file "maptile.exe". The app works as intended like on on the website but when I tried to download the drawn map in the exe, it gave a Chinese error. So I translated it and it says download error <number>. I was just trying to draw a state from India (kerala) and it's a smaller data than the whole India. And many files are missing on the export folder. I need to finish this within 5 days. Hope anyone can help with this. Thanks 👍
UPDTATES WON'T INSTALL - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: May 31, 2024, 06:47:36 am
content: Hi there!!I have a Laptop PC, where the Windows 10 Updates won't install.The anti-virus Microsoft Defender installs properly though.This is probally causing my 'Screen Saver', not to work, at all.It just says, "Can't Install Updates", and returns to Windows 10with no apparant problems.What, could be causing this??Tah, Simon.
Programming with paged memory - Page 1
Forum section: electronics / general

author: Wawavoun
author_rank: Regular Contributor
timestamp: April 01, 2024, 06:04:57 pm
content: Hi All,On a vintage computer I expect to increase memory size with paged memory.I will getan 512 kb eprom from which I can see only one "page" of 512 bytes into the normal address spacea 128 kb ram again with 512 bytes visible into the space address.Pages are selected by two 8 bits latches 74LS377 (one for the eprom and the other one for the ram).In a first intention I dont want to use a mmu like MC6829. The system is TSC FLEX and should stay a single task system (just dual tasks using IRQ during batch printing).I search technical documentations and examples of programs (I use 6809 assembler) in this situation.Any information will be valuable.Thanks and regards.Philippe

author: srb1954
author_rank: Super Contributor
timestamp: April 01, 2024, 07:16:04 pm
content: A code page size of only 512 bytes is too small if you are using a S/W managed page selection scheme. Without a memory mapping IC you would have considerable trouble managing the page swaps and would be regularly changing pages as the code executes. In compiling code you would have also to make sure that each code module fitted into a 512 byte page and didn't inadvertently cross a page boundary.I would recommend a page size of 4k as a more suitable size to make S/W managed page management more feasible.

author: Wawavoun
author_rank: Regular Contributor
timestamp: April 02, 2024, 06:26:51 am
content: Unfortunately the cpu board and the address decoding map already exist.So I have to do with only a small part of the address space available for the user.And its my challenge to improve this computer without modification of the existent...

author: xvr
author_rank: Frequent Contributor
timestamp: April 05, 2024, 03:12:59 pm
content: Hardware for page swaps is a simplest part. Software support for it is much more complex. MMU enables systems can completely hide page swap from user program, but this is not your case. User software should handle it manually.The single arrangement for this is an Overlay system (as far as I know). Overlays required support from compiler (if it is high level compiler, like C). In your case (assembler) you will require support for Overlay from linker.Overlay system has some limitation:You should use stack for functions/procedures (in C it used automatically, for assembler you should use it mandatory)Biggest procedure in Overlay part should fit in Overlay area (in your case - 512 bytes)Only executable code can be overlayed, not DataOverlay support code should resides in not overlayed areaOverlayed ROM code is possible, but required extra supportAnd the last one - there is no requirement for split area for ROM and RAM overlays, you can use one (1K preferably) for both
HP-80 CALCULATOR WITH GRAPHICS - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: September 14, 2024, 07:41:28 am
content: Hi there!!!I saw a HP80 Calculator, with B/W Graphicsand am trying to find it's model number???It, looks like the original keypad layout, butwith larger screen.Tah, Simon.

author: artag
author_rank: Super Contributor
timestamp: September 14, 2024, 03:08:34 pm
content: Maybe you mean HP85, not HP80 ? HP80 was a handheld with 7-seg LED display in the same series as the HP35.There were a few variants of the HP85. Maybe you saw the HP87 with a similar layout but wider screen, or the Hp86 where a separate screen sits on top.https://www.hpmuseum.org/hp85.htm

author: simon christo
author_rank: Regular Contributor
timestamp: September 15, 2024, 12:39:07 am
content: Yeah, I found what I was looking for.A HP48 Series GraphicalCalculator, originally built between 1990-1995.It's got a Emulator for both Android & Windows!!Thanks, for your interesting input!! Tah, Simon.

author: Stray Electron
author_rank: Super Contributor
timestamp: September 15, 2024, 12:55:28 am
content: Quote from: simon christo on September 14, 2024, 07:41:28 amHP spent a lot of time researching and optimizing the keyboard layout before they built the first HP hand held calculator, the HP-35, and they stuck with the same layout for decades. There is a good article about HP's keyboard design and construction in one of the old HP Journals from about 1973. I think the same edition that introduced the HP-35. You should look it up and read it.

author: SiliconWizard
author_rank: Super Contributor
timestamp: September 15, 2024, 01:01:05 am
content: Quote from: simon christo on September 15, 2024, 12:39:07 amAh, a completely different beast then than the HP80 or HP85 stuff.I have a HP48G+, but the LCD display is dead. Kind of sad. And opening it is not an easy task. I damaged the casing a little bit while doing so, only to realize that repairing the LCD itself is a lost cause, so if I wanted to fully repair it, I would have to pretty much replace both the LCD display and the casing. Basically, the main PCB is all that's left 100% intact now. It's in good shape though.

author: artag
author_rank: Super Contributor
timestamp: September 15, 2024, 10:57:50 am
content: Yes, though the 48 is possibly closer in style to the 80 than the 85 !The 48 display does have a reputation for dying due to separation of the connection. Some examples can be fixed with pressure on the case. I have an HP 50g (an evolution of the HP48) that has a similar problem, but the HP50 case is much easier to take apart than the heat-staked HP48.Simon, there are many others in the series though some of the later models were disappointing to the very large enthusiast base. As far as HP is concerned, the HP Prime is the current model but many people still prefer earlier models. Collecting any of them is a slippery slope.

author: bpiphany
author_rank: Regular Contributor
timestamp: September 19, 2024, 12:26:04 pm
content: Love my new(ish)found android appIt emulates the 48sx which is slightly different from my high school 48g.
Neumatic simulator open source and programmed in JavaScript - Page 1
Forum section: electronics / general

author: Picuino
author_rank: Super Contributor
timestamp: April 04, 2024, 02:43:54 pm
content: I am currently using a Flash-based (outdated) pneumatics simulator with Ruffle emulator in order to use it.I would like to be able to find a simulator that I could improve (open source) and with more current technology (programmed in JavaScript).Does anyone know one?Neumatic simulator:https://www.picuino.com/_static/flash/simulador-neumatica.htmlRuffle (Flash emulator):https://ruffle.rs/
Linux tool (besides strace) for debugging code using epoll/timerfd? - Page 1
Forum section: electronics / general

author: berke
author_rank: Frequent Contributor
timestamp: February 23, 2024, 12:34:28 pm
content: Hi,I have some single-threaded code that uses sockets, timer FDs and usbdevfs, and I'm using epoll for event notification. I even have epolls watching other epolls.Is there anything better than reading strace logs manually (see extract below) and keeping track of FDs and flags using pen and paper to see what's going on?Code:1862 write(2, "[2022-08-07T16:11:09.386Z DEBUG xxx::pax] Number of interfaces: 1\n", 77) = 771862 write(2, "[2022-08-07T16:11:09.386Z DEBUG xxx::pax] Bulk endpoint addresses: input 0x81, output 0x01\n", 102) = 1021862 epoll_create1(0) = 91862 fcntl(8, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 01862 epoll_ctl(9, EPOLL_CTL_ADD, 8, {EPOLLERR, {u32=8, u64=8}}) = 01862 timerfd_create(CLOCK_MONOTONIC, 0) = 101862 epoll_ctl(9, EPOLL_CTL_ADD, 10, {EPOLLIN, {u32=10, u64=10}}) = 01862 write(2, "[2022-08-07T16:11:09.386Z DEBUG xxx::rate_controller] New interval: 0.0001 s\n", 88) = 881862 timerfd_settime(10, 0, {it_interval={tv_sec=0, tv_nsec=100000}, it_value={tv_sec=0, tv_nsec=100000}}, NULL) = 01862 munmap(0x7fc76ce63000, 4096) = 01862 munmap(0x7fc76ce50000, 4096) = 01862 munmap(0x7fc76ce16000, 4096) = 01862 munmap(0x7fc76cdbd000, 4096) = 01862 munmap(0x7fc76cda9000, 4096) = 01862 munmap(0x7fc76cd95000, 8192) = 01862 epoll_ctl(6, EPOLL_CTL_ADD, 9, {EPOLLIN, {u32=9, u64=9}}) = 01862 epoll_pwait(7, [{EPOLLIN, {u32=3, u64=3}}], 32, 1000, NULL, 8) = 11862 write(2, "[2022-08-07T16:11:09.963Z TRACE xxx::event_loop] Events: [EpollEvent { event: epoll_event { events: 1, u64: 3 }}]\n", 126) = 1261862 write(2, "[2022-08-07T16:11:09.963Z TRACE xxx::event_loop] Event status: EventStatus { server_epoll: true, pax_epoll: false }\n", 127) = 1271862 epoll_pwait(3, [{EPOLLIN, {u32=5, u64=5}}], 32, 0, NULL, 8) = 11862 write(2, "[2022-08-07T16:11:09.963Z TRACE xxx::server] Server events: [EpollEvent { event: epoll_event { events: 1, u64:5 } }], connections: 0\n", 145) = 145

author: berke
author_rank: Frequent Contributor
timestamp: February 23, 2024, 05:05:14 pm
content: I haven't found any tool that explicitly does this, however /proc/*/fdinfo pseudo-files give information about epoll and timer FDs. For an epoll it looks like thisCode:pos: 0flags: 02mnt_id: 15ino: 54tfd: 3 events: 19 data: 3 pos:0 ino:36 sdev:etfd: 8 events: 19 data: 8 pos:0 ino:36 sdev:eand for a timer FD like thisCode:pos: 0flags: 02mnt_id: 15ino: 54clockid: 1ticks: 0settime flags: 00it_value: (0, 100692056)it_interval: (0, 250000000)I was able to figure things out this way.
Ticketing seat allocation problem - Page 1
Forum section: electronics / general

author: cfbsoftware
author_rank: Regular Contributor
timestamp: April 25, 2024, 04:32:25 am
content: My partner and i recently attempted to purchase two tickets to a show but the ticket booking software would not allow me to select my preferred seats (N9 and N10 in the attached seating plan)because that would have left one isolated seat (N11).In my opinion, while I can accept that it might be desirable to minimise the creation of multiple isolated seats in a row, the application of this rule in this particular scenario is not sensible. It leads to the following consequences:The seats in row N in the centre section can only be sold in the following circumstances:1. A single person can book seat N9 or N11 (but not N10). Then two people like ourselves would be able to book the remaining 2.2. A single person can book seat N9 or N11, but then another single person could not book one of the remaining two seats.3. Three people can book seats N9, N10 and N11 if they buy them at the same time.Similarly for rows O and P.Worse still, nobody can buy eight tickets in row R as that would also leave one isolated seatI suspect that the requirements that were given to the programmer were too simplistic. Given the following definitions:nIsolatedSeats = the number of empty seats in a row that are not next to an empty seatnOccupiedSeats = the number of seats in a row that are not emptynRequestedSeats = the number of adjacent seats requested in the current booking. Can't be greater than the number of adjacent empty seats.nEmptySeats = nOccupiedSeats - nRequestedSeats = the number of empty seats remaining if the current booking is confirmedThe current algorithm appears to be something like:Code:AllocateSeats(nRequestedSeats)if (nIsolatedSeats > 0) then RejectBooking else ConfirmBookingMy preferred solution that would avoid the questionable situations described above would be:Code:AllocateSeats(nRequestedSeats)if (nEmptySeats > 1) and (nIsolatedSeats > 0) then RejectBooking else ConfirmBookingAm I on the right track?

author: eutectique
author_rank: Frequent Contributor
timestamp: April 25, 2024, 10:38:39 am
content: My preferred solution isCode:AllocateSeats(nRequestedSeats)TakeMyMoney and ConfirmBooking
research on GitHub Copilot - Page 1
Forum section: electronics / general

author: madires
author_rank: Super Contributor
timestamp: January 29, 2024, 11:16:32 am
content: New GitHub Copilot Research Finds 'Downward Pressure on Code Quality' -https://visualstudiomagazine.com/articles/2024/01/25/copilot-research.aspx

author: Microdoser
author_rank: Frequent Contributor
timestamp: January 29, 2024, 11:26:28 am
content: Related to this, I've noticed that ChatGPT4 is almost point blank refusing to output full code that can be copied and pasted into an editor, it always adds in things like #remaining functions to go here or #function logic here.I suspect this is to drive customers to copilot.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 29, 2024, 09:24:41 pm
content: We weren't expecting that.

author: Jeroen3
author_rank: Super Contributor
timestamp: January 30, 2024, 07:21:01 am
content: Programmers were already a lazy bunch, and with copilot it will get even worse.I bet most of them won't even know what it wrote sometimes.Doing a bit of C# and the suggestions in visual studio are already weird sometimes. There is so much bloat in the languare you need an llm to help you find the "most recent" feature that isn't deprecated in the woods of different places where the functions and libraries are documented.
RUNNING 8 BIT O/S ON PC - Page 1
Forum section: electronics / general

author: simon christo
author_rank: Regular Contributor
timestamp: January 29, 2024, 06:56:56 am
content: Hi there!!i'm running a old 8 bit O/S Emulator, on a Win 10 PC, and something is 'wiping out' my Newer Files, and replacing them with my Older Ones!!!It's really Cheesing me off!!!Where do I start, to find the Source of this Stuff??Is it a Virus Protection System, or is it something else??See what you think, Tah, Simon.

author: SeanB
author_rank: Super Contributor
timestamp: January 29, 2024, 07:47:35 am
content: Are you running under dosbox? That at least will run 8 bit PC software, and generally old files being written over new is from time and date being wrong, either the software attempts to real the RTC chip, which it is unable to do, and thus gets date as being Jan 1 1970.Best is to run a VM and put the 8 bit OS into the VM, which will provide it with it's own filesystem nto associated with the base OS at all.

author: simon christo
author_rank: Regular Contributor
timestamp: January 29, 2024, 01:19:56 pm
content: Thanks, for your reply....Tah, Simon.

author: simon christo
author_rank: Regular Contributor
timestamp: January 31, 2024, 05:02:29 am
content: it's sort of funny, that I haven't experienced this before?? Then again, I'm writting a lot more programs latley, and this is probally why..Why would changing to a DOS based Emulator be better?? I mean, Windows and DOS both have Date Stamps.The other question is that - I can save 8 bit files to Windows format, but once it's in Windows format, how do I get it back to 8 bit format??I've asked my user group, to no avail.It just would be good, as a Back-Up.Reading the Amstrad Extentended Disc, looks like a very special format, and I find it difficucult to desifer this format, I'm sure there's a way though.Tah Simon.

author: m k
author_rank: Super Contributor
timestamp: January 31, 2024, 04:44:08 pm
content: Maybe RTC chip is not emulated.DOS or BIOS function asking a system time is not that.Windows format is not altering the data.Amstrad Extended Disc must have a format that the reading/writing machine can support physically.After that you may need to write your own driver.
What decompression/zip type is this - Page 1
Forum section: electronics / general

author: Matty
author_rank: Contributor
timestamp: December 30, 2023, 07:01:14 pm
content: I have dumped the firmware from a cheap scope Kiprim (a reworked Owon?) and I found a compressed part of the main firmware in it.I've emulated (ARM9-EL) the decompression routine and got the decompressed kernel?. But I was wondering if anyone know what it is.I would like to adjust the firmware, but I can not recompress the kernel back again.The first 4 bytes are the length. It appears to have "OWON" in the header. And the data starts @ 0x1CI have a feeling that this is not a proprietary method, they must have copied something.7zip didn't save me.

author: brucehoult
author_rank: Super Contributor
timestamp: December 30, 2023, 09:50:20 pm
content: The code of the decompression routine would be a much better clue!!!

author: Matty
author_rank: Contributor
timestamp: December 30, 2023, 11:28:25 pm
content: Oh yeah, that does help.

author: Matty
author_rank: Contributor
timestamp: January 14, 2024, 06:08:23 pm
content: I see that it uses the LZ77 method/algorithm, but I could not find which implementation it uses.So I made a crude re-compressor (in VB6). It is just good-enough to make the file fit in the allocated space.I think the info might be useful to someone in the future.tag search: OLWIOLNLCINP1U2T

author: m k
author_rank: Super Contributor
timestamp: January 15, 2024, 06:55:07 am
content: Uncompressed is 0x48 longer than , first 0x48 is very rational code.How uncompressed ends?

author: Matty
author_rank: Contributor
timestamp: January 15, 2024, 06:18:13 pm
content: oh yes,when I copied the decompressed file from emulated RAM. I also copied the last 0x48 bytes as well, because that is what it created.* Now looking back... it appears that I decompressed 8 bytes too many, oooops - might have been a typo? *I remember a different decompressor which output'ed a bit more data than expected. But luckily it does not matter because it will be ignored.Also the decompressed size  is totally ignored anyway. So I just left the original value in there.It finishes the decompression routine based on the value at  - the header size + compressed size.
IT6263 register programming - Page 1
Forum section: electronics / general

author: Scratch.HTF
author_rank: Regular Contributor
timestamp: November 23, 2019, 02:43:11 am
content: With an ITE IT6263 LVDS-HDMI converter, I need to program specific registers including those for LVDS spread spectrum/termination/input levels - Seenku manufactures such a board with a microcontroller for initialization.The only information I can find for programming the IT6263 (via I2C) is:http://caxapa.ru/thumbs/905619/i.MX_Reference_Manual.pdf- this board supports the IT6263https://github.com/Freescale/meta-freescale/blob/master/conf/machine/imx8qxpmek.conf- as abovehttp://www.catalina.com.cn/info_83748.html- IT6263 registers - signup requiredOn a Seenku board with the IT6263 and a CS8953AR microcontroller corresponding tohttp://www.seenku.com/Product/5012733441.html:The pinout of CN3 on this board (all signals are +3.3V LVTTL) - Square pad denotes Pin 11 3 52 4 61 Micro /RESET2 Micro P1.3 (SCL)3 Micro P1.2 (SDA)4 GND5 Micro P2.66 GNDMicro P0.0 IT6263 PCSDAMicro P0.1 IT6263 PCSCLMicro P0.2 IT6263 SYSRSTNIT6263 PCADR has a 10K pulldown resistor and its I2C address on PCSDA/PCSCL is 0x98)I2C address at Micro P1.2/P1.3 is 0x94

author: Yansi
author_rank: Super Contributor
timestamp: January 31, 2022, 09:21:46 am
content: Hello, any progress with obtaining any documentation for the IT6263?Or have you found any other IC to convert from LVDS to HDMI, that would have a full docu available? For IT2623, I have only found a datasheet with pinout/schematic.

author: RayeR
author_rank: Contributor
timestamp: July 08, 2023, 02:57:09 am
content: I'm also interested in, any update about docs? Chinese manufacturers produce boards with this chip so they have the docs. Maybe one could buy it and reverse the MCU FW. Even that linkhttp://www.catalina.com.cn/info_83748.htmlis now dead...And please could you tell me, if crystal oscillator of IT6263 starts automatically at power on or doesn it need some register programming before? I'm not sure if the chip that I bought on ebay is OK, in my case XO doesn't oscilate but it seems to respond on I2C. Also I've seen that some boards use 24MHz and some 27MHz xtal so I guess there's some PLL that need to be programmed for specific xtal value...

author: Yansi
author_rank: Super Contributor
timestamp: January 31, 2024, 08:17:33 pm
content: A recent find for those interested:https://bbs.elecfans.com/jishu_1859684_1_1.html
Niklaus Wirth passed away on January 1st, 2024 - Page 1
Forum section: electronics / general

author: madires
author_rank: Super Contributor
timestamp: January 04, 2024, 01:50:46 pm
content: Another great person is gone. In case you 've never heard of him:https://en.wikipedia.org/wiki/Niklaus_Wirth. He was the father of Pascal and Modula. And there's also Wirth's law: software is getting slower more rapidly than hardware is becoming faster (https://en.wikipedia.org/wiki/Wirth's_law).
Language of the week: Hylo - Page 1
Forum section: electronics / general

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 30, 2023, 12:17:49 am
content: Yes, it's never-ending!https://www.hylo-lang.org/While one of Rust's core concepts is borrowing references and making almost everything immutable by default, this one is based on "mutable value semantics".To mutate, or not to mutate, that is the question:Whether 'tis nobler in the mind to sufferThe slings and arrows of outrageous mutation,Or to take Arms against a Sea of troubles

author: tggzzz
author_rank: Super Contributor
timestamp: December 30, 2023, 01:07:51 am
content: I first used HiLo in ~1982.Aren't homonyms fun

author: magic
author_rank: Super Contributor
timestamp: December 30, 2023, 08:48:19 am
content: QuoteSo this is what kids these days consider familiarAnyway, my first impression is somewhat unimpressed. Lifetime annotation appear to be what makes Rust's borrow system actually usable for anything nontrivial... Will have to see how or if they make up for it.

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 30, 2023, 10:31:59 am
content: Yes it does appear unimpressive like 99% of new languages. But I'm actually reading the paper they link to about "mutable value semantics". It may make some points. I'll figure it out when I'm done reading it.
Is there any wizard for pyplot charts? - Page 1
Forum section: electronics / general

author: RoGeorge
author_rank: Super Contributor
timestamp: December 25, 2023, 11:16:58 am
content: Pyplot is great, though each time I want to be more specific with a chart, I have to search online for hours until I find the right options and the right syntax to produce the desired look.Is there any helper, preferably an offline GUI, from where to configure the appearance of a chart, and from which to generate the corresponding pyplot code, so to embed that code in my programs?Something like the charts wizard from any spreadsheet would be enough, doesn't has to cover each and every pyplot feature. I've searched for 'pyplot wizard' and couldn't find any.If no wizard tool, then what to use for discoverability? How to personalize a pyplot chart without spending half a day digging through the docs and through stackoverflow?

author: janoc
author_rank: Super Contributor
timestamp: December 25, 2023, 04:49:30 pm
content: There isn't a wizard.QuoteDid you actually try to look at the Matplotlib documentation? It is excellent and the example page shows both various plots and the code needed to produce them. It is quite easy to crib the bits you need from there.https://matplotlib.org/stable/gallery/index.htmlAnd I hope you have spent a bit of time with the tutorial and documentation in general:https://matplotlib.org/stable/tutorials/index.htmlhttps://matplotlib.org/stable/users/index.htmlYou can also always try to have something like ChatGPT generate the code for you but the quality will inevitably wary. Caveat emptor.

author: KE5FX
author_rank: Super Contributor
timestamp: December 25, 2023, 05:03:54 pm
content: Exactly, give ChatGPT 4 a try. It's unreasonably effective at turning English into Python.

author: RoGeorge
author_rank: Super Contributor
timestamp: December 25, 2023, 08:49:14 pm
content: Thank you, will stay with the tedious search and copy/paste stitching, then.Meanwhile, found it to be more productive to export to LTspice, and visualize the data as LTspice plots.

author: abeyer
author_rank: Frequent Contributor
timestamp: December 25, 2023, 11:59:57 pm
content: I findLuxuseful for quick exploratory stuff initially, and you can grab its outputs as code to then customize if you want to tweak them or do something similar that it doesn't on its own. Also sometimesstreamlitfor tweaking values/ranges/etc... too, if that's a need.

author: RoGeorge
author_rank: Super Contributor
timestamp: December 30, 2023, 08:24:51 am
content: In the official pyplot tutorials, there is a link to this blog post:https://pbpython.com/effective-matplotlib.htmlI wish I could have read that post before using matplotlib.Good as pyplot reminder brief for the infrequent user, too.Source:https://pbpython.com/effective-matplotlib.htmlSource:https://matplotlib.org/2.0.2/faq/usage_faq.htmlhttps://matplotlib.org/cheatsheets/
CANOpen network software  - Page 1
Forum section: electronics / general

author: Simon
author_rank: Unknown
timestamp: December 20, 2023, 01:13:18 pm
content: I'm now starting to babble in canopen. The problem is that as one message ID carries all the data traditional CAN monitoring programs don't really work. Is there anything out there that is free or not too expensive that is worth using. At the moment I'd like to look at the sequence of message responses to see if I am getting the device into it's active state properly but with Kvaser canking I will obviously only ever see the last response or I will have to trawl through log files.I don't mind trying a linux thing, I have a RPi P400 but "canopen-monitor" on github failed to install I can't spend days trying to work out why.

author: Jeroen3
author_rank: Super Contributor
timestamp: December 20, 2023, 01:31:55 pm
content: You can trybusmaster, the database files you can write are really useful for normal CAN or J1939.However it's not CANopen and I am not that familiar with the ID used in CANopen...Python can also talk with kvaser drivers, so you can also ask chatgpt to write something for you

author: Simon
author_rank: Unknown
timestamp: December 20, 2023, 01:36:26 pm
content: In J1939 every ID identifies the data it carries, so you can create a DBC file that species what this is in each ID and a program like my canking will filter out the data into lines with the data as interpreted by the DBC file. With CANOpen there are a handful of ID's and in the mode I am working right now one ID to send to a device and 1 ID in response. The data is identified by the contents of the message. The system uses an object dictionary of indexs and sub indexes to reference the data sent from the same ID followed by the data so only 4 bytes of data are sent for the SDO protocol that I need to use to start up. But because the ID is not unique to the data contained in the message, J1939 types of decoding are not that useful beyond seeing what the last response was.
One last bit of code to poke at - Page 1
Forum section: electronics / general

author: metertech58761
author_rank: Frequent Contributor
timestamp: December 13, 2023, 04:14:16 pm
content: One last bit of code to run past the brain trust before I shelve this project and move on to more productive pursuits.Part of my analysis of this code (and commenting my way through the source dump I made) was with intent of being able to reproduce the functionality on newer platforms, but I am finding that there are a few critical pieces of code that are too tightly bound to the M68xx architecture to translate easily to newer languages. Absent an actual copy of the source code from the OEM (and it being a futile task to ask for same), I have figured out enough of the code at hand to largely satisfy my curiosity.Anyway...There are three calls to this routine I can see in the code.One is after a 'cold start', and Accumulator B is set to 30 ($1E) before calling this routine.The other two instances are in the second stage of the interrupt handling, and Accumulator B is set to 0 before calling this routine.Variables starting with NVR_ refer to the NVRAM at $0C00 (i.e., NVR_35 = $0C35), specifically those addresses whose purpose I hadn't figured out.The range in question appears to fall within $0C33 to $0C3E.msgPtrL seems to be some type of pointer for use by the transmitter / receiver routines in the interrupt code (it is used as either an 8-bit or 16-bit value, 8-bit in this case)tblByte is the value returned by a lookup table (it has the odd progression of 0,1,2,4,8,65,66,15)switch2 is one of several 'soft switches' set at the factory relating to the application.piaPortA is port A on the 6821. In this case, it is pin PA0 we are interested in, which is the input bit stream from the receiver. That makes me think this is some sort of buffering routine?Code:sub_591LDAA NVR_35BEQ sub_59Bsub_596ASLBSUBA #$10BNE sub_596sub_59BSTAB NVR_3CLDAB msgPtrLSTAB NVR_3BLDAB tblByteLDAA #switch2 ; soft switch to use full AccB or just bits 0 / 1 (current value: 0)BEQ sub_5A9ANDB #$03sub_5A9PSHBCLRALDAB piaPortARORBROLALDAB piaPortARORBROLALDAB piaPortARORBROLAPULBPSHXLDX #NVR_35sub_5BBLSRBBCC sub_5D3PSHBLDAB piaPortARORBROLAANDA #$0FPSHALDAB NVR_3CBEQ sub_5CEABABRA sub_5CFsub_5CECLRAsub_5CFSTAA $00,XPULAPULBsub_5D3INXTSTBBNE sub_5BBPULXRTS
This is the Hare - Page 1
Forum section: electronics / general

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 10, 2023, 12:35:23 am
content: The language of the month for the now famous new programming languages series:https://harelang.org/

author: Foxxz
author_rank: Regular Contributor
timestamp: December 10, 2023, 02:47:12 am
content: Thought I had a bug in my code. Turned out it was just fleas.

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 12, 2023, 01:37:37 am
content: At first sight, it looks like a lot of stuff borrowed from Zig, Rust, of course C, and a few others.One thing that got me curious though, is how lean the whole tooling is. They are using QBE, a (kind of funky) back-end compiler that is not LLVM (for once). While it only has 3 targets, 64-bit only for now, and with limited optimization, it's excessively small. Could be interesting to look at and experiment with:https://c9x.me/compile/
Fast multi-channel real-time chart plotter software? - Page 1
Forum section: electronics / general

author: e100
author_rank: Frequent Contributor
timestamp: November 20, 2023, 07:04:20 am
content: What plotting software are people using to analyze the real-time activity of a system?I've written a simulator that is churning out a total of 200+ data points a second distributed across a dozen analog and digital on/off channels. I'm struggling to find an application that can actually plot 200 points a second without consuming vast amounts of CPU time or suffering from buffer overruns and corrupting the display.I spent a few days looking at the MegunoLink plotter only to be disappointed at how badly it copes, despite running on a 3GHz i5 processor.

author: Berni
author_rank: Super Contributor
timestamp: November 20, 2023, 07:20:51 am
content: Yeah i been having similar issues.Some of the solutions i used is making a small CSV decimator CLI app where you can feed it a CSV file and tell it how many lines to discard. This is mostly useful for timeline logs where doping lines just means i have a more coarse time scale.If it is something i am dealing with a lot, then i might write my own small visualization tool in C#. Tho due to using the .Net chart control it does struggle once you go too far into the millions of points. So for very large datasets id still add in some smart decimation that averages points together. There is a 3rd party chart control for C# out there that can handle absolutely gigantic amounts of data, but it is very expensive, so i never used it.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: November 20, 2023, 07:58:17 am
content: Gnuplot?I don't recall it being too bad at hundreds or thousands of points, but it's been a while since I used it (namely in conjunction with Octave).Could even go worse than a thin JS + HTML Canvas parser/viewer in a browser, assuming network availability (or suitable environment including DOM graphics and file system access). Some thousands of points should be effortless, more if you can do it by GPU assistance (at some level of scaling, WASM + WebGL would probably be warranted, or just do it native with C/++/#, SIMD optimizations, and GDI/DirectX/OpenGL output.Or since it sounds very logic-analyzery, can you just hijack an existing one? Saleae performs very nicely with millions of points. If the file format is documented, I'd give that a serious look.Tim

author: florian-x
author_rank: Contributor
timestamp: November 20, 2023, 08:37:34 pm
content: I've had the same question, and had chosen uPlot (https://github.com/leeoniya/uPlot). It's a library, so to make a real application from it, there's some way to go. I was planning to build one but haven't managed yet to do so.

author: Marco
author_rank: Super Contributor
timestamp: November 20, 2023, 08:56:48 pm
content: I think the problem isn't the 200x a second, the problem is all the previous 200s per second. If the software doesn't simplify the history through hierarchical filtering, it gets harder every second.Unless you want a pure incremental display with a predetermined fixed timebase.
Promela? verification modeling language: anyone has ever used it? - Page 1
Forum section: electronics / general

author: DiTBho
author_rank: Super Contributor
timestamp: September 30, 2023, 05:36:59 pm
content: It seemsPromelawas used with the Plan9 kernelHas anyone ever used it to verify the correctness of distributed or concurrent systems?if so let me know

author: DiTBho
author_rank: Super Contributor
timestamp: September 30, 2023, 05:38:49 pm
content: (Bell Labs' "SPIN" tool uses it, but... never seen it in action)

author: DiTBho
author_rank: Super Contributor
timestamp: October 22, 2023, 02:15:58 pm
content: anyone?

author: magic
author_rank: Super Contributor
timestamp: October 22, 2023, 03:48:36 pm
content: Rings a bell, but it was years ago when I studies CS at a university and I can't tell you anything useful.Wrong forum, perhaps? And I don't mean "sub-forum"

author: abeyer
author_rank: Frequent Contributor
timestamp: October 22, 2023, 09:55:48 pm
content: I've seenthis paperdoing a comparison among some similar tools including spin that has a small but realistic example of a system problem and solution in each tool. Might be of interest to get a feel for it. I've never actually used spin/promela, though, so can't add much more.

author: DiTBho
author_rank: Super Contributor
timestamp: October 23, 2023, 04:26:18 am
content: Quote from: magic on October 22, 2023, 03:48:36 pmWhere should I ask?

author: DiTBho
author_rank: Super Contributor
timestamp: November 01, 2023, 10:01:48 am
content: Cannot find a discussion group on Facebook, Google, ...Umm.As a language it has some constructions that I really like!

author: SiliconWizard
author_rank: Super Contributor
timestamp: November 01, 2023, 09:46:11 pm
content: I have heard of it but never met anyone who had actually ever used it. So, good luck finding that.I haven't seen enough of it to figure out if it could be useful.It's said to be supported by Spin, so that's probably where you can start:https://github.com/nimble-code/Spin