hybridfree/eevblog-posts huggingface dataset:
Help finding software and docs on a Development board with an EEPROM programmer - Page 1
Forum section: electronics / general

author: Straho
author_rank: Newbie
timestamp: September 23, 2017, 04:14:31 pm
content: Hey guys, I have found this last week in the local flea market. It has an Atmel AT89C52 8 bit micro and several sockets for I presume flashing different EEPROMs. The only thing that identifies it is a small label on the PCB that says MULTIPROG Rev. A. Does anybody know where i can find info on this thing .. I can only find info on the Atmel micro ...everything else is ungoogable - no information whatsoever ..... I need documentation and software. Would be glad if someone has info on thisthats the beasthttps://photos.app.goo.gl/LlQYpi8SXKr1fOd62

author: Andy Watson
author_rank: Super Contributor
timestamp: September 23, 2017, 04:46:29 pm
content: It clearly has a rs232 type serial connection - have you tried talking to ? It might identify itself.It also has what looks like a second crystal in the middle of the cluster of programming sockets - I think this may be aimed at programming processors rather than EPROMs.

author: Straho
author_rank: Newbie
timestamp: September 25, 2017, 06:35:09 am
content: Thanks, I will follow the pinouts to determine a safe voltage and see if the thingie talks. Will post results when ready.

author: amyk
author_rank: Super Contributor
timestamp: September 25, 2017, 06:44:03 am
content: A quick Google suggests it could be PLC related.

author: funkathustra
author_rank: Regular Contributor
timestamp: September 25, 2017, 07:05:55 am
content: There's a bazillion programmers like that out there. They're made by little outfits that come and go. I wouldn't be surprised if there was a lot of protocol re-use between models. The trick is to find models that obviously have an old 8051 MCU and an RS232 port. If they have USB, look for a USB-to-serial converter.Maybe try:http://www.electroons.com/blog/know-how-using-wilar-sp200s-enhanced-device-programmer/https://www.makenation.co.uk/programmers/sp200s-eeprom-programmer-kit/https://alselectro.wordpress.com/tag/universal-programmer/http://www.nskelectronics.com/usb_8051_programmer.htmlIn my searching, the "Wilar Programmer" kept coming up, and I've verified the Wilar Programmer SP200S uses an 8052 MCU. Probably start there!

author: ebclr
author_rank: Super Contributor
timestamp: September 25, 2017, 12:28:00 pm
content: My beat is that this is an EPROM programmer
[SOLVED] Diamond 3.9 windows 10 does not start - Page 1
Forum section: electronics / general

author: ale500
author_rank: Frequent Contributor
timestamp: June 29, 2017, 05:52:55 am
content: I've trying to get Lattice diamond 3.9 to work on my development machine. It has windows 10 Pro (Version 1607, build 14393.1358). I tried 3.9 x64 (3.9.0.99_2) and its patch 3.9.1.119.1.The 32 bit version does the same (3.9.0.99_2).This error is displayed twice and then pnmain.exe quits.I have no problems running 3.5 or 3.6 on the same machine.I wanted to try a newer version because the TG68 core seems not to map, synthesis works but when it goes on to map the design (machXO2-7k target)... it just seems not to ever complete.(I'd gladly download 3.7 or 3.8 but they seem to have vanished from lattice's website, any links ?)

author: rstofer
author_rank: Super Contributor
timestamp: June 29, 2017, 01:50:23 pm
content: I am using Diamond 3.9.0.99.2 (don't know anything about a patch) with Win 10 10.0.15063 on a Surface Book with no issues that I know of.

author: ale500
author_rank: Frequent Contributor
timestamp: June 30, 2017, 07:42:28 pm
content: I found the older versions of diamond and 3.7 works, and 3.8 doesn't : it shows the same symptoms as 3.9. But 3.7 doesn't hang when running the mapper, so I'll use that.

author: ale500
author_rank: Frequent Contributor
timestamp: September 23, 2017, 06:16:32 am
content: I was finally able to solve this issue. I always thought that it was a problem with a DLL. It turns out that some files are missing when you install only some types of FPGA like MachXOs and so on. It seems that the files for the ECP5 family are required.I ended up installing all FPGA types for the files to be found. Not much time to test which family is really needed or families by re-installing multiple times, tough.
Microchip has finally released the MCP2517FD CAN FD controller - Page 1
Forum section: electronics / general

author: SKPang
author_rank: Unknown
timestamp: September 22, 2017, 11:47:46 am
content: After much delayed Microchip has finally released the MCP2517FD CAN FD controller.The dev boards has just arrived. Work has commence.

author: jnz
author_rank: Frequent Contributor
timestamp: September 22, 2017, 04:28:12 pm
content: Been a LONG time.I got an advanced datasheet and really liked what I saw. However... do you know if they've released their driver/software package for it? It's a lot more complex to control than their 2515 was.

author: SKPang
author_rank: Unknown
timestamp: September 22, 2017, 04:31:52 pm
content: You can download the demo code from:http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ADM00576but I can't get it to compile at the moment.

author: jnz
author_rank: Frequent Contributor
timestamp: September 22, 2017, 04:35:44 pm
content: API. That's the word I was looking for! (rough morning)Ok, so they are handing that out just not entirely documented yet. Well, better than nothing!Man, the pricing and specs (finally more than 3 buffers!) on this thing ... This is about to be THE can chip. I could really use a dual which is surely coming but not for some time. Also integrating a transceiver would be nice.edit: Thanks for the heads up, just ordered two with a shield to adapt to my dev kit for this project. Say what you want about Arduino, but standardizing some devkit headers sure makes my life easier!

author: JPortici
author_rank: Super Contributor
timestamp: September 22, 2017, 06:05:21 pm
content: Damn it. I got the PIC32MK GPE dev board less than 10 days ago. This new board would have been just as useful, if not more. besides it's 1/3 of the price
How to write single wire protocol for NFC (ST25TA02K-PC6H5) - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: September 21, 2017, 06:52:49 am
content: Hello all,My project have NFC from STMicroelectronics. Below is the interface between Microcontroller and NFCAs shown in figure, NFC uses its GPO pin to interface with MCU. With that, How can I read/write NFC registers?. Is GPIO support to write single wire protocol?Please suggestRegards,Sangar

author: ataradov
author_rank: Super Contributor
timestamp: September 21, 2017, 07:39:59 am
content: You can't read or write over that pin. GPO is just an output that indicates when RF power is present (or different things). The rest of the configuration is done over RF.Section "General Purpose Output (GPO)" of the datasheet is pretty clear about that.
Suggest Motion sensor and Lux sensor(Light sensor) - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: September 20, 2017, 12:21:33 pm
content: Hello all,I am going to work on project which will control brightness of the light based on ambient light and by detecting human motion. Can you suggest Motion and Lux sensor with I2C interface at less than $1.Regards,Sangar
what you suggest for managing eeprom space to store all kind of data? - Page 1
Forum section: electronics / general

author: navidrct
author_rank: Regular Contributor
timestamp: September 20, 2017, 05:53:39 am
content: hii have 64KB eepromi want to store 20 user info on it and what each one of them does and save some information in it like saving some cars with their id and name and say this car is for who and so on .do u have any suggestion for managing eeprom space for a complicate project that i want store allot of data?i can write to eeprom 32 Byte per writethanks

author: spudboy488
author_rank: Regular Contributor
timestamp: September 20, 2017, 11:30:54 am
content: It will depend on how much information each of the 20 slots will need to store. You could just divide the 64KB by 20 and each user gets that chunk. The problem is that you'd have to keep track of writing across pages. If you write a single byte at a time (rather than 32 bytes at a time), that wouldn't be an issue but it will take longer.You can divide it up so that each chunk starts on a page boundary but you may end having some unused apace in the EEPROM and not have enough room in the user chunk to store the data.Share with us how much space each of the 20 users needs and we can come up with a better solution.
retro computing/gaming - mist-fpga-consoles - Page 1
Forum section: electronics / general

author: paulcav
author_rank: Contributor
timestamp: September 17, 2017, 07:01:51 am
content: https://www.dragonbox.de/en/285-mist-fpga-consoles-4260416650916.htmlThe MIST board was designed to implement classic 16 bit computers like the Amiga and Atari ST(E) using modern hardware.However it also supports 8bit systemsThe MIST supportsUSB joysticks / keyboards / miceas well asstandard classic 9-pin joysticks..For video output, it has aVGA port(please note that - depending on the system - it might output a non-standard VGA Signal that does not work with every monitor. Most TVs with VGA input should work without any issues).VGA offers the best video quality for those systems.You need a normal MicroUSB-Power adaptor to power it.The MIST reimplements the hardware of the systems - it does not emulate it.It is fully OpenHardware and Software.You can find more information about the MIST here:https://github.com/mist-devel/mist-board/wikiThe following systems are currently supported:Computers:Atari ST, Amiga (ECS, AGA), MSX, Atari XL800, Apple II+, Commodore 64, ZX SpectrumConsoles:NES, Atari 5200, Chip8, PC Engine (HuCard), Atari 2600, SMS, ColecoVisionArcade Machines:Space Invaders, Pengo, Pacman, Moon Patrol, Galaxianhttps://code.google.com/p/mist-board/']The MIST supports the following hardware:+ USB keyboards+ USB mice+ Classic C64 style joysticks+ SD cards+ VGA screens+ Speakers+ USB joysticks/gamepadsCurrently unsupported are (might change with firmware updates):+ Original Atari ST and Amiga mice+ USB storage devices (thumb drives)+ USB bluetooth dongles
Getting started with programming a 3rd party NRF52832 MCU - Page 1
Forum section: electronics / general

author: MikeLemon
author_rank: Contributor
timestamp: September 15, 2017, 07:05:06 pm
content: Hello,I'm here in the processes of migrating from arduino due to lack of proffecionalizm and functionality at least for that nrf52832 mcu now the PCB is already done and tested (with programming it through the arduino IDE) but I'd like to move on with it maybe with eclipse using an STM32 discovery board taking advantage of the UART,I2C,PWM, a function like tone()(from arduino), BLE(between two nrf52832 units), and NFC.Does anybody maybe has a good guide on how to get started flashing and programming stuff like this thing?(I've set up eclipse for it but I don't know where to get started on how to program it and flash it with eclipse but atleast it can build codes) assuming I'm an expert in arduino but know nothing about pure C++ micro controller programming(all the make files and stuff like that.BTW already got softdevice S132 on it from arduino what ever that thing is.Operation system: windows 10Programmer: ST link V2 donge, STM32 discovery configured as a J link
Gitignore File for Vivado Projects - Page 1
Forum section: electronics / general

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: September 14, 2017, 01:06:21 am
content: What do you folks have in your .gitignore file for Vivado projects?Vivado generates a large number of files when it creates a new project and I don't know which ones I need to keep and which ones get recreated when building a project. I want to keep only the files needed so that when I clone a project from the repository I get everything needed to build it in Vivado but not the cruft.

author: rstofer
author_rank: Super Contributor
timestamp: September 14, 2017, 02:06:11 pm
content: I have no idea...You might try archiving the project (creates a .zip file in the c:/users/<username>/Xilinx by default) and reviewing what was saved. There is a file 'archive_project_summary.txt' in the .zip that describes the various sections. For my project, there are many empty directories. But the tree is saved anyway.I would have a tendency to just archive the source files (.vhdl and .v) plus the .xdc and the .xpr file. The problem is, I don't know if this is adequate with Vivado. What about the IP files, for example? Assuming I use any.

author: aylons
author_rank: Unknown
timestamp: September 14, 2017, 05:43:33 pm
content: May I suggest a bigger change that may actually help not only on this, but in other aspects of project management? You could take a look at thehdlmaketool, it is really a relief and much better to manage with git.

author: whollender
author_rank: Regular Contributor
timestamp: September 14, 2017, 06:00:10 pm
content: Another option to avoid trying to determine which Vivado project files you actually need is to keep all your source files and a TCL script for re-generating the project in source control.It's a bit of a pain to move to this kind of setup because you have to get familiar with TCL scripting to a small extent, and generating IP is a bit complicated, but it ends up being simpler in the long run.

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: September 14, 2017, 10:19:53 pm
content: Turns out Xilinx has an answer to this on their support site:https://www.xilinx.com/support/answers/61232.htmlBeware, though, that the example .gitignore associated with this answer is missing a rule for Systemverilog (.sv) files.

author: rstofer
author_rank: Super Contributor
timestamp: September 15, 2017, 02:56:16 pm
content: Quote from: Sal Ammoniac on September 14, 2017, 10:19:53 pmAnd it seems to include reports and other files that are only relevant in the context of the current build. Were it mine, I would be excluding a bunch more files. ISE had the Project->Clean (?) ability and it was quite useful before zipping up an archive.To their credit, they are trying to archive enough info to retain all aspects of the last build. This may make sense for huge projects that take a very long time to build.
MPLAB X online Code Assistance - Page 1
Forum section: electronics / general

author: dope40
author_rank: Newbie
timestamp: September 14, 2017, 05:53:24 pm
content: Hi,So i recently needed to use Visual Studio 2013 for a while , and while using it i grew very fond of the auto-code-sugest-complete thingy it has ( Code Assistance in MPLAB IDE ) .This is a quick post describing how i " made " the same for MPLAB X IDE v3.45 .Disclaimer : This i made for me , so its tailored for my needs . It's not perfect , or good for that matter . It uses Autohotkey to automatically press Ctrl + Space after every alphanumeric key input . But i do find it very useful , so if someone else finds it useful ... great , if not .... you can just close the tab.OK, so here is the Autohotkey code .Code:Loop, 26Hotkey, % Chr(96 + A_index), AnyKeyLoop, 10Hotkey, % A_Index - 1, AnyKeyAnyKey:#IfWinActive ahk_class SunAwtFrameSend %A_ThisHotkey%Sleep, 50Send ^{space}SC027::#IfWinActive ahk_class SunAwtFrameSend {;}Send {esc}How does it work :The first part of the code makes all letters and numbers hotkeys .QuoteThen when one of them is pressedQuoteit checks if its pressed inside the MPLAB text editor window ( so it does not work in other programs or windows )quick note : if it doesn't work for you , use the Active Window Info to view the ahk_class , and replace it in the code .QuoteAnd if its in the correct window it just resend what you pressed followed by Ctrl + Space .Quick note : The delay , between the resending of the key and the Ctrl + Space , is to prevent the key you pressed to "bind " to Ctrl .i.e if you type ANSELA fast enough , the last A binds to the Ctrl key , and you end up highlighting the whole document .QuoteThe last parts is for times when you assign values since it still suggest , so you need to press escape to close it and then press enter for a new line . Since that can be very annoying , every time you press the semi-colon it automatically presses escape for you , after sending said semi-colon .QuoteAnd that's it , you just open the .ahk file when you launch your IDE .I am sure it can be done better , but taking in consideration it took more time to write this post , than to make it , i am pleased with the result .P.S One last thing to note is that most of the time there is no Code Documentation (http://microchipdeveloper.com/mplabx:code-documentation) , so the window its completely useless . unfortunately there is no way to disable it . Or i couldn't find it anyway .
Good seven segment Arduino library? - Page 1
Forum section: electronics / general

author: don.r
author_rank: Frequent Contributor
timestamp: September 13, 2017, 03:22:10 am
content: I have a project that re-purposes a front panel with a 4 digit 7 segment display, some buttons and some separate LEDs. The buttons are poled on each digit pass (3 buttons per digit) and the LEDs are wired as "segments" to a separate "digit". I was using SevenSeg V1.2.1 by Sigvald Marholm and its workable with modifications but a little constricted. I was wondering if there was something a bit more flexible out there. My Arduino is a Nano 168 but I may be stepping up to something... ahem... bigger in the near future

author: brucehoult
author_rank: Super Contributor
timestamp: September 13, 2017, 06:58:53 am
content: I had a quick look. Seems pretty flexible to me. Set the segment pins. Set the digit pins. Set common cathode or common anode. Set active hi or active lo. Functions to set individual digits, or convert a number to decimal (I didn't check if it is recursive). Functions to set the refresh rate and duty cycle.What more do you want, exactly?You can always write your own. Converting a 4 bit decimal/BCD value to 7 bits for the segments is trivial -- all you need is a constant array containing seven "short"s (or ints on Arduino) and AND each one with 1<<digit_value and light that segment if the result is nonzero. Or use an array of 10 (or 16) chars. Whatever.

author: don.r
author_rank: Frequent Contributor
timestamp: September 13, 2017, 02:26:09 pm
content: Its pretty good, I was just wondering if there was a better one I was missing. I need to control the individual LEDs separately but multiple displays is not supported while using timer interrupts which I need for the button poling. However, after thinking about it, it would be easier to modify this library rather than find another one.
Project is stuck? LCD clock with climate sensor and Wi-Fi - Page 1
Forum section: electronics / general

author: technix
author_rank: Super Contributor
timestamp: September 12, 2017, 05:16:40 pm
content: Here are the project files.It is released under the 3-clause BSD license. The README file should have described the project clearly. The schematics in PDF is part of the release files, but on all of my two units the STM32F103CBT6 specified in the schematics is replaced with a STM32F303CCT6.I already have a working board for the project, but the firmware seemed to be stuck. Anyone have any pointers for help? Also how can I reduce the power consumption of the board?I am coding using Eclipse CDT with GCC as compiler under macOS Sierra. CMSIS is used but not STM32CubeMX or STM32 Standard Peripheral Library. I am confused with libopencm3.

author: MattHollands
author_rank: Frequent Contributor
timestamp: September 14, 2017, 12:32:15 pm
content: I can't find the schematics PDF on the github. I don't use eagle so can't view your eagle files. What do you mean by "the firmware seems to be stuck"? Can't even see any code.

author: technix
author_rank: Super Contributor
timestamp: September 14, 2017, 05:17:08 pm
content: Quote from: MattHollands on September 14, 2017, 12:32:15 pmI am a bit confused at how to write the firmware for this thing. And it seem to me that I need to create both STM32 and ESP8266 code here.The PDF is located in the Releases section.

author: MattHollands
author_rank: Frequent Contributor
timestamp: September 14, 2017, 05:32:23 pm
content: Ok, found the PDF.Yep, since you have an ESP and an STM32 you will need to write code for both. I have never used either of these chips. A simple google search throws up a load of guides.
Renesas ARM Cortex-M MCUs - Page 1
Forum section: electronics / general

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: September 06, 2017, 08:41:46 pm
content: Anyone here use the Renesas series of ARM Cortex-M4 MCUs, such as the S7 series? How is the documentation and debug support?How are the peripherals?

author: jnz
author_rank: Frequent Contributor
timestamp: September 06, 2017, 09:40:34 pm
content: Nope. Looked into them once, but their size, their peripherals and their cost were all out of line with STM/NXP/TI/etc when looked at as a whole. For production, I could see them being just fine, but I never got beyond their low volume costs.

author: John Coloccia
author_rank: Super Contributor
timestamp: September 12, 2017, 06:58:06 am
content: Given my current experience, I would need to have a very good reason to want to deal with Renesas. The people I've dealt with seem very nice and helpful, but the development/debug environments are a bit scatterbrained and the manuals seem to suffer from translation issues. I don't have any specific experience with their ARM chips.
Has anybody worked with PIC32MK and USB yet? - Page 1
Forum section: electronics / general

author: JPortici
author_rank: Super Contributor
timestamp: September 11, 2017, 09:32:07 am
content: Kind of a long shot, since the family is so new..I need to use one of the USB ports in this MCU as a virtual com port. Currently there are no example projects for this MCU (XC32 V1.44, Harmony V2.03b), the cdc class examples have multiple configuration options but none for this MCU.So, i took the most simillar one (PIC32MZ EF) and tried to replicate it, but no luck yet. board isn't recognized, no activity on the data lines, driver state machine doesn't get past initialization.I admit i have no clue on what's going on, the documentation didn't help me much..At the moment i am using the PIC32MK GP development board

author: JPortici
author_rank: Super Contributor
timestamp: September 11, 2017, 01:25:54 pm
content: Nevermind. Turns out i had an outdated version of harmony.Harmony 2.04 came out during vacations and it adds full support to my board and processor.There even is a dedicated CDC project thta uses both the USBs
Design Ideas for A custom leaning ZYNQ7000 board - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: September 11, 2017, 07:58:47 am
content: Hi,I have done several designs based on Spartan 6 devices, now I wanted to build a custom designed Board for ZYNQ7000 mainly XC7Z010 or XC7Z020, for my first design into ZYNQ, which part do you suggest? I have done DDR2 before, this is my fist time going to DDR3, how many chips and which topology do you suggest? any additional I/O's and peripherals are welcomedDo you have any ideas to make a better opensource ZYNQ project?

author: legacy
author_rank: Super Contributor
timestamp: September 11, 2017, 08:31:20 am
content: Which EDA-CAD do you use?

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: September 11, 2017, 08:54:23 am
content: of course I still love you! Altium
Confusion with selecting the right load capacitor for crystal - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: September 09, 2017, 03:06:04 pm
content: Hello all,I am confused with selecting External load capacitor for Crystal(ABM3B-8.000MHZ-10-1-U-T )which have load capacitance of 10pF.Right now, I have used 10pF as external load capacitors in My circuit.But, Atmel says that to use the following formula to calculate external load capacitor..QuoteQuoteExternal capacitor value after formula:QuoteSo, Should I change My external load capacitor from 10pF to 1pF?Please suggest..Thanks,Sangar

author: madires
author_rank: Super Contributor
timestamp: September 09, 2017, 03:50:31 pm
content: If the crystal oscillates fine with 10pF then keep the 10pF caps. For time critical stuff replace one cap with a trimmer cap for adjusting the frequency. From my experience the ATmega's oscillator runs fine with 18-22pF load caps.

author: Kleinstein
author_rank: Super Contributor
timestamp: September 09, 2017, 03:58:39 pm
content: The C_shunt that is internal to the crystal might very well be already considered for the load. The only part to consider would than be C_shunt that is external to the crystal. Otherwise it would be odd to specify 10 pF load capacitance if 3-7 pF of this are already inside.
[SOLVED] Erase all data on chip 18F2550 - Page 1
Forum section: electronics / general

author: MAD MACRO
author_rank: Regular Contributor
timestamp: September 19, 2017, 08:38:16 am
content: Brain Fart: I set the code protection configuration ON instead of OFF by mistake.Don't do this at home..Code:#pragma config CPD = ONFeels like i rekt an expensive chip, unless there is a way to erase all data and start over.Please, Help mehPS: I don't use MPLABx, I use XC8 compiler in terminal, I write the makefile tho

author: Ian.M
author_rank: Super Contributor
timestamp: September 19, 2017, 08:57:56 am
content: Just do a normal chip erase with Vdd>4.5V and all protection bits in the CONFIG will be reset to their factory defaults.

author: MAD MACRO
author_rank: Regular Contributor
timestamp: September 19, 2017, 11:06:11 am
content: Quote from: MAD MACRO on September 19, 2017, 08:38:16 amQuote from: Ian.M on September 19, 2017, 08:57:56 amplz elaborate, kind sir.

author: woody
author_rank: Frequent Contributor
timestamp: September 19, 2017, 01:42:51 pm
content: The CPD bit (bit 7 in the CONFIG5H register) enables or disables Data EEPROM code protection. This protects the data in EEprom against external reads and writes. When this bit is a '1' the Data EEPROM is not protected, and when it is a '0' the Data EEPROM is protected. The datasheet has all the info:https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwi08aq6r7HWAhWJKFAKHUqFDeYQFggmMAA&url=http%3A%2F%2Fww1.microchip.com%2Fdownloads%2Fen%2FDeviceDoc%2F39632b.pdf&usg=AFQjCNGsfrBCpu9EPzZIvmZjY28idVHwCAYou can reprogram the CPD bit over and over. It is not something like a 'final fuse' or a one-time programmable thing. Just reset the fuse code (NOCPD or CPD=off or whatever it is in XC8 lingo) in your code, compile it, put the chip in a programmer or connect to it via ICSP and reprogram it.Paul

author: JTR
author_rank: Regular Contributor
timestamp: September 19, 2017, 05:42:53 pm
content: If you tell us what programmer you are using then _maybe_ we can give more detailed info. As it is there is no need to believe you have bricked your chip. It just needs a chip erase done at Vdd >= 4.5V. You may be able to figure out how to do that by poking around your programmer software. The key point here is that Vdd must be >= 4.5V for the bulk erase to work.

author: MAD MACRO
author_rank: Regular Contributor
timestamp: September 22, 2017, 03:41:19 am
content: WOW, this is so embarrassing, it's almost like im retarded, what i did which made it alot harder is that I removed the line completely, instead of replacing the ON with OFF...sry for the late reply btw, work and life took me away for a while.Thanks for all the helpful replies
Long term (2 weeks+) data logging on microSD card - Page 1
Forum section: electronics / general

author: AQUAMAN
author_rank: Regular Contributor
timestamp: September 05, 2017, 10:26:11 pm
content: Hi allI am running a setup on an Arm mbed microcontroller and it's for an experiment that will run for 2-3 weeks. There will be a set of values logged every 2 seconds.I am logging data through the serial port in MATLAB, but I don't trust the computer to not randomly freeze or shut itself down for this entire time (and probably at the most critical moment). So I also have a backup by logging the data on an SD card.What I am wondering is is whether its OK to open a file for writing on and SD card, and write continuously to it for a 2 week period? My program at the moment opens a new file for writing at the start, and then will keep it open the whole time, only to close it again when the experiment is overIs there anything bad about doing this, like increasing the chances of file corruption or something? Or should I open and close the file every time I write to it? What if there is a power cut and everything turns off? I presume at this point all the data will be lost?The reason I ask is that the line file = fopen("/sd/data.txt", "w"); is taking over 0.1s to execute, and this makes it very difficult fitting it in the timing around the rest of my programAny help appreciated

author: thm_w
author_rank: Super Contributor
timestamp: September 05, 2017, 11:34:07 pm
content: Yes that should be no problem to write to it continuously for 2 weeks.If your API allows it, there may be a way to "force" writes out to the card, so they aren't held in cache for too long, where they would be lost upon power off. I ended up writing every ~2s and forcing actual write every 30s or so. If power is lost then at most I saw that 30s of data gone.I was using Fatfs: f_open, f_seek to end, then f_write, and f_sync to force writes.You might consider creating a new file every day, with current date in the name. That may reduce the chance of corrupting one big data file, and limit loss to a single day (but I never saw this happen).Also, make sure you are appending data to the end of the file, so if the program restarts it won't overwrite data.txt accidentally.

author: Nick Novak
author_rank: Contributor
timestamp: September 06, 2017, 03:16:22 am
content: Starting with a freshly formatted card may speed things up or at least ease the burden of scanning for free clusters when writing to the card. You could also experiment with the time required to write out various sized chunks of data, you may find the time required is fairly constant up to a certain write size and it may make more sense to queue data and write it less frequently.Closing the file or at least forcing it to sync periodically is good advice.You should also keep in mind the 4G file size limit of FAT32. I'm not sure how big your data entries are but that may be a consideration after 2 weeks.
NXP's DEVKIT-MPC5744P & MPC5748G development boards. - Page 1
Forum section: electronics / general

author: jfr
author_rank: Newbie
timestamp: September 06, 2017, 02:43:20 am
content: I'm just curious if anyone has them or is using them for anything.5744P Datasheet5748G Datasheet.The both have ISO26262 & ASIL-D compliance for functional safety.The 44P looks like it's for power train and the 48G is a gateway device (with a lot of communications):– Four Deserial Peripheral Interface (DSPI)– Six Serial Peripheral interface (SPI)– 18 serial communication interface (LIN) modules– Eight enhanced FlexCAN3 with FD support– Four inter-IC communication interface (IIC)– One USB OTG Controller (USB_0) and One USBSPH Controller (USB_1) with ULPI Interface.– ENET complex (10/100 Ethernet) that supportsMulti queue with AVB support, 1588, and MII/RMII– 2 x ENET with L2 switch– Secure Digital Hardware Controller (uSDHC)– Dual-channel FlexRay ControllerQuoteQuoteNXP has also open sourced / released their GCC with e200 VLE support:http://www.nxp.com/docs/en/release-note/S32DS-POWER-v1-2-RN.pdf
Wsn monitor and windows 10 - Page 1
Forum section: electronics / general

author: bigsotos1
author_rank: Newbie
timestamp: September 05, 2017, 09:13:54 pm
content: Hi all.I am using two custom boards with atmega128rfa1.Both of them are running the wsndemo from lightweight_mesh_1_1_1(the first board as coordinator and the second as rooter).When I connect the coordinator to a terminal program at 38400 8n1 a can see on screen garbage-coordinator-garbage-router.That means that my hardware is ok and it's working.My problem is that when I am using wsnmomitor I can not see a thing(com settings 38400 8n1 and protocol folder the one that has the wsnmonitor).I suspect that it must be a problem with Windows.I am running Windows 10 and java runtime environment 1.6.0.Wsnmonitor is running under compatibility with Windows 7.Has anyone the same problem?Has anyone managed to solve the problem?Thanks in advance.

author: ataradov
author_rank: Super Contributor
timestamp: September 06, 2017, 01:26:31 am
content: I think Google may actually help here. I believe there is some problem with Win10 and Java RxTx library, which is used for COM port access.I personally gave not used WSN Monitor on Win10.It is fairly useless anyway, just go straight to your application.

author: technix
author_rank: Super Contributor
timestamp: September 06, 2017, 01:30:11 am
content: For Windows 10 you may need Java 1.8.0 or 1.9.0.

author: technix
author_rank: Super Contributor
timestamp: September 06, 2017, 01:31:18 am
content: Quote from: ataradov on September 06, 2017, 01:26:31 amIf you have a recent computer you may be forced to use Windows 10 or the latest Linux releases, otherwise drivers can be problematic.
Power supply ICs for CPLD board designs - Page 1
Forum section: electronics / general

author: garvind25
author_rank: Regular Contributor
timestamp: September 04, 2017, 08:16:44 am
content: Hi there,I am looking for simple power supply ICs for a CPLD board design. Can anyone suggest ICs for 1.8v and 3.3v supply generation? I will be using a 5v adapter for supply generation.Thanks and Regards,Arvind Gupta

author: daqq
author_rank: Super Contributor
timestamp: September 04, 2017, 08:37:55 am
content: Depends on the target current. If it's just one CPLD, you'll probably not be drawing a lot of power, I'd even go with two cheap LDOs, stable with ceramic caps. Or you can go with dual LDO (two LDOs in one package), such as:http://www.linear.com/product/LT3023http://www.linear.com/product/LT3029http://ams.com/eng/Products/Power-Management/LDOs/AS1374Or, if you don't mind extra board space and need more efficiency, you can go for a dual switched DC DC converter. I've used the LT3509 and it worked well.

author: marshallh
author_rank: Unknown
timestamp: September 05, 2017, 09:51:40 pm
content: LD1117 series are cheap and plentiful
AT32 C compiler - Page 1
Forum section: electronics / general

author: yalect
author_rank: Regular Contributor
timestamp: August 30, 2017, 06:07:49 pm
content: Hello,I would like to ask if I can find simple C compiler app or program (small size) support AT32.thank you

author: Ian.M
author_rank: Super Contributor
timestamp: August 30, 2017, 06:35:58 pm
content: Atmel AT32? GCC.

author: yalect
author_rank: Regular Contributor
timestamp: September 03, 2017, 06:14:59 pm
content: yes,thank you
MiniPro TL866CS and 24(L)C256 - Page 1
Forum section: electronics / general

author: ale500
author_rank: Frequent Contributor
timestamp: September 01, 2017, 11:29:08 am
content: I got some 24LC256(yeah, from Aliexpress) and a TL866CS also from Aliexpress.The EEPROMs are to be used by the Parallax Propeller, yeah they work and can be programmed with PropellerTool, no problems.I cannot program them with the TL866, neither can I program Atmel's 24C256 (they work with the propeller too), I tried 5 V and the 3.3 V version as per the menu.I read back 0xff for every location.Did some have success with such EEPOMs and the Programmer ?Hardware interface v 03.2.72. MiniPro v6.50. Win10 Pro.My TL866 works with parallel Flash, no problems and with SPI flash chips too (25Q32). The 24(L)C256 were placed as the picture shows.Any ideas ?I have had a look into the waveforms, the read command seems OK, the memory answers with ack and returns 0xff. Bit period 17 us.The write command seems also OK.Signal level is 3.3 V.Somewhere screws up, it cannot be that everything is ok.Screw all that, now it seems to work. Yesterday didn't work, today does. I'm perplexed... maybe that ZIF socket doesn't make good contact
Arduino software RGB controller - Page 1
Forum section: electronics / general

author: lolimpol
author_rank: Contributor
timestamp: September 02, 2017, 08:02:30 am
content: so, I made a post here a while ago about an Arduino code. that code controls my RGB led strips. now I want to add a rainbow functionality. I used an RGB speaker software for a while, this is what they used:Code:case 'f': speed = Serial.parseInt();intensity = Serial.parseInt();fadeRGB(speed, intensity);flushSerial();return true;break;In my code, 1 is off, 2 is on, and 3 + RGB value sets a color. so 4 +speed would make a rainbow!could anyone help me with this? thanks!code:I am making a computer controlled RGB controller, I have my code made. but I want to add rainbow functionality on the serial string 4 + speed. please help me!code:Code:int redpin = 3; //intialize all the pinsint greenpin = 5;int bluepin = 6;int r = 255; //initialize the rgb valuesint g = 255;int b = 255;int serial; //initialize the variable to store the serial inputvoid setup() {pinMode(redpin, OUTPUT); //set the pins as outputpinMode(greenpin, OUTPUT);pinMode(bluepin, OUTPUT);analogWrite(redpin, 0); //turn the pins offanalogWrite(greenpin, 0);analogWrite(bluepin, 0);Serial.begin(9600); //begin the serial monitor at 9600 baudSerial.print("Hello"); //say Hello, be polite!}void loop() {int serial = Serial.read();if (serial == '1') //if it's 1 the pins turn off{analogWrite(redpin, 0); //turn the pins offanalogWrite(greenpin, 0);analogWrite(bluepin, 0);Serial.print(" The led's are now off ");}else if (serial == '2')//if it's 2 the pins turn on{analogWrite(redpin, r); //turn the pins onanalogWrite(greenpin, g);analogWrite(bluepin, b);Serial.print(" The led's are now on ");}else if (serial == '3')//if it's 3 change the colours{r = Serial.parseInt();//look for the next valid integer in the incoming serial streamg = Serial.parseInt();//do it againb = Serial.parseInt();//and againanalogWrite(redpin, r); //turn the pins onanalogWrite(greenpin, g);analogWrite(bluepin, b);//for debugging:Serial.print(" ");Serial.print(r);Serial.print(" ");Serial.print(g);Serial.print(" ");Serial.print(b);Serial.print(" ");}else if (serial == '4')//if it's 3 change the colours{Serial.print(" ");Serial.print(r);Serial.print(" ");Serial.print(g);Serial.print(" ");Serial.print(b);Serial.print(" ");}}
SDI-12 - Page 1
Forum section: electronics / general

author: YU7C
author_rank: Regular Contributor
timestamp: August 30, 2017, 03:43:58 pm
content: Hi,I have to develop SDI-12 to SPI bridge, and thought it will fine if I find SDI-12 protocol analyzer.So, is there on the market cheap simple a logic analyzer who can decode SPI-12 protocol commands?Vojislav

author: Rerouter
author_rank: Super Contributor
timestamp: August 31, 2017, 09:45:03 am
content: SDI-12 looks to be a high level interface running on a 1200 baud, bidirectional serial link, (Automotive K-line / Key Word Protocol, sounds almost like an exact match)For decoding this before i have just used a 8 bit logic analyser, with some resistors to define the correct high / low thresholds (K-line logic 0 is 25-35% of VCC)You would then decode it as Async Serial, and all the data would be there, You would then just have to review which side is requesting to nut out which side is talking at a given time.
USB connector GND pin, ferrite bead yes or no? - Page 1
Forum section: electronics / general

author: Karel
author_rank: Super Contributor
timestamp: August 28, 2017, 03:14:29 pm
content: In this application note:https://www.silabs.com/documents/public/application-notes/AN0046.pdfThey say you should use ferrite beads for the GND pin of the USB connector. When I did that, I had an unreliable connection.I could only solve it by bypassing the ferrite bead. Since then I always connect both the GND pin and the shielding of the USB connectordirectly to the groundplane. After that, I never had any problems in all our projects.What is your opinion on this?

author: Neilm
author_rank: Super Contributor
timestamp: August 28, 2017, 07:27:02 pm
content: Personally, I wouldn't put an inductor in the 0V line. If there is any issue, I might have a small ferrite over all the lines but that wouldn't be all that often.In regards connecting the shell to 0V that will depend on the product I have designing. If I have a double insulated unit I tend to connect it, if I have an earthed metal box I would connect to that not the 0V. Generally, I leave a couple of pads to allow me to connect or not connect it depending on fitting components - that way I don't have to respin the PCB

author: Scrts
author_rank: Frequent Contributor
timestamp: August 29, 2017, 02:58:57 pm
content: I find those ferrites on GND signals to be useless. It brings more issues than solutions.

author: wraper
author_rank: Unknown
timestamp: August 29, 2017, 03:35:26 pm
content: Unless connector is connected to the grounded metal case by EMI springs or conductive foam, I would certainty avoid splitting the ground. Otherwise shield in the cable no longer functions as shield at high frequencies.
LUPA300 image sensor... - Page 1
Forum section: electronics / general

author: drhalftone
author_rank: Newbie
timestamp: August 26, 2017, 01:46:53 am
content: I'm trying to interface an FPGA to a LUPA300 just like David Kronstein to get 250 fps video, but I just can't get a useable image. Does anyone have any experience/success interfacing with this image sensor?

author: kony
author_rank: Regular Contributor
timestamp: August 26, 2017, 04:01:46 pm
content: What about saying more about your design - both HW and FPGA internals. This way you are basically asking for almost ready to use design being handed out.

author: drhalftone
author_rank: Newbie
timestamp: August 26, 2017, 04:25:34 pm
content: We're using a micro zed board with Xilinx zynq-7000 processor and a GPIO break-out carrier card from Avnet. We've built a PCB that hosts the LUPA-300 according to the documentation provided by OnSemi and plugs directly into the break-out carrier card. I think we are leaving the LUPA's registers alone and relying on their default values. We get a clean line valid signal and everything seems to match the timing diagrams provided by OnSemi, again in the documentation. Now without changing any default values in the registers, I would expect to get a decent image with smooth shades of gray with some fixed pattern noise, but I certainly wouldn't expect the video we are getting. So do I have some sort of analog biasing voltage issue or is this something in my FPGA code or are there some register values I need to set?

author: kony
author_rank: Regular Contributor
timestamp: August 26, 2017, 04:35:33 pm
content: Default as uploaded by some reference design, or default as on power reset of the sensor? In second case, you absolutelly have to follow the recommended registers upload sequence as specified in additional onsemi docu (under NDA). It is actually amazing you are getting anything out, as the sensor PLL is not even running correctly.

author: drhalftone
author_rank: Newbie
timestamp: August 26, 2017, 04:39:02 pm
content: The only documentation I have is what's publicly available online. What additional documentation is there and how to do I get it?

author: kony
author_rank: Regular Contributor
timestamp: August 26, 2017, 04:58:38 pm
content: I was working with Python & Vita family of sensors thinking they were really close, but after a fast glimpse over the datasheet, this sensor seems simpler and documented in more details in the public datasheet. You should be able to pull it off even with just that in hand.Without any cues on the design, there is not much anyone can do to help you. Please post any relevant documentation (schematic, RTL, scope snapshots) of the design and what you already tried to debug it.Go ask your onsemi sales representative of choice for signing the NDA and request the appnotes and further documentation (if there is any - should be).
Which font generation tool did I use? - Page 1
Forum section: electronics / general

author: komet
author_rank: Unknown
timestamp: August 26, 2017, 10:45:14 am
content: 4 years ago I generated a C file from a font using some sort of Windows utility, and I can't for the life of me remember what software I used to do it. Do you recognize this header?:Thanks for your help.Code:/******************************************************************************** font* filename: H:/electronics/psu/big_digits.xml* name: big_digits* family: GillSans Condensed* size: 20* style: Bold* included characters: -.0123456789AVm* antialiasing: no* type: monospaced* encoding: UTF-8* unicode bom: no** preset name: lib430* data block size: 8 bit(s), uint8_t* RLE compression enabled: no* conversion type: Monochrome, Edge 132* bits per pixel: 1** preprocess:* main scan direction: left_to_right* line scan direction: backward* inverse: yes*******************************************************************************/#include <stdint.h>static const uint8_t font_big_digits[] = {/* Character 0x20 ' ' (22 bytes) */0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x00,/* Character 0x2d '-' (22 bytes) */0x00, 0x03,0x03, 0x03,0x03, 0x03,0x03, 0x03,0x03, 0x00,0x00, 0x00,0x80, 0x80,0x80, 0x80,0x80, 0x80,0x80, 0x80,0x00, 0x00,

author: Kalvin
author_rank: Super Contributor
timestamp: August 26, 2017, 10:51:51 am
content: You didn't google first?https://github.com/sumotoy/TFT_ILI9163C/wiki/Convert-Font

author: veryevil
author_rank: Unknown
timestamp: August 26, 2017, 11:26:47 am
content: The Dot Factoryhttp://www.eran.io/the-dot-factory-an-lcd-font-and-image-generator/
Arduino Mega and New Haven Display 122x32 LCD - Page 1
Forum section: electronics / general

author: RickCHodgin
author_rank: Contributor
timestamp: August 23, 2017, 03:30:57 pm
content: Does anybody have experience making aNew Haven Display LCDand anArduino Megawork?I downloadedthe NHD PDFand on pages 3 and 4 I see the pinouts. On page 6 I see the commands. There's also a link to theunderlying SBN1661G_M18 controller PDF, and beginning on page 17 it shows the various commands and how they work. On the NHD PDF on page 9 it shows sample startup code.I was able to create an LED array with one each for the pins indicating ON=1, OFF=0, and a push-button single-step trigger which allowed me to step through the commands I would issue to the controller. You can see mycode here, (sourced fromhere).It works, and I appear to be sending the correct information out on the pins. But, when I re-wire it to the NHD 122x32 display, it doesn't do anything. In looking at the timing on pages 7 and 8 on NHD PDF, I think that's my problem. I'm new to Arduino programming, and I have found a few examples online that I've been able to take code from and adapt it, but I think my strobe for the write operation is too long and therefore it's being ignored.Can anybody help get me pointed in the right direction?Thank you,Rick C. Hodgin