hybridfree/eevblog-posts huggingface dataset:
Looking for software that generate RTL schematic from verilog code  - Page 1
Forum section: electronics / general

author: tigrou
author_rank: Regular Contributor
timestamp: February 19, 2018, 10:06:32 pm
content: Hello,I'm learning verilog. I would like to know if there is any free tool that allow to view the equivalent schematic of a piece of verilog code ?This will allow me to have a good understanding between what I wrote and an equivalent implementation at RTL level.I'm thinking of something similar to RTLVision PRO (screenshot here). Unfortunately this one is not free

author: rstofer
author_rank: Super Contributor
timestamp: February 19, 2018, 10:17:26 pm
content: Xilinx ISE (free WebPack) produces an RTL schematic from code. I never tried to print it so I don't know how that will work out.Xilinx Vivado (free WebPack) does the same thing but I have never tried it:https://forums.xilinx.com/t5/Synthesis/View-RTL-Schematic-and-View-Technology-Schematic-in-VIVADO/td-p/475698

author: hans
author_rank: Super Contributor
timestamp: February 20, 2018, 11:02:02 am
content: Any free Altera/Intel Quartus edition can also do this, and it's often used (reports, lectures, projects, demos) in my courses for digital design; even if we don't actually synthesize our design (yet).In my opinion, although I haven't used Xilinx tooling for 2 years, the Altera/Intel RTL produces more pretty (and printable!) pictures. I gotan 80s vibefrom Xilinx, I really don't see why they keep that style...

author: m_t
author_rank: Contributor
timestamp: February 20, 2018, 01:17:24 pm
content: Yosys (http://www.clifford.at/yosys/about.html) is an open source synthesis suite for Verilog that can also generate RTL netlists, see e.g.http://www.clifford.at/yosys/screenshots.html.

author: mac.6
author_rank: Regular Contributor
timestamp: February 20, 2018, 03:01:51 pm
content: Quote from: hans on February 20, 2018, 11:02:02 amWell that's an old version, recent vivado schematics are more up to date in the style departement.On the other side, synopsys tools are still full 90'nix style...

author: iMo
author_rank: Super Contributor
timestamp: February 20, 2018, 06:45:10 pm
content: IceCube2 includes Synplify Pro (Synopsys) and you get nice RTL/Technology views too..

author: tigrou
author_rank: Regular Contributor
timestamp: February 20, 2018, 06:49:09 pm
content: Thanks for replies.Actually Yosys is really easy to use. The generated schema is a little bit hard to read but it does the job.It did not tried others yet. Altera/Intel Quartus edition seems to worth a look (and it's only 1.7 GB)

author: daveshah
author_rank: Unknown
timestamp: February 21, 2018, 09:57:52 am
content: If you want something more readable that Yosys's built in graph viewer, netlistsvg can render pretty schematics from Yosys's JSON output.https://github.com/nturley/netlistsvg

author: mubes
author_rank: Regular Contributor
timestamp: February 22, 2018, 09:00:31 am
content: Now that's a find Dave! Thanks for that.Dave
Small Lab release (crosspost) - Page 1
Forum section: electronics / general

author: Vic20
author_rank: Contributor
timestamp: February 17, 2018, 12:03:55 pm
content: Hi, to all. Yesterday I posted on the Projects forum before noting that there is an specific MCU forum than can also suit the project. Hope that cross-posting in this case is not against the rules.It is basically a, Python based, ultra low cost instrumentation system for learning or playing with electronics:http://r6500.blogspot.com.es/2018/02/slab-first-release.htmlThe hardware details are acompained, for now, with 13 tutorials about common electronic devices.The software is open source and the documents are free to share.The part that is related to this forum is that it uses the ST Nucleo boards, specifically the 303RE one and that the Firmware, currently MBED based, is available on Github.

author: Simon
author_rank: Unknown
timestamp: February 17, 2018, 09:39:07 pm
content: It's not the cross posting for double posting is against the rules it's just that it's such a basic thing that really pisses people off that we would hope we don't need to have a rule about that. If you could please give me a link to your other post I will lock it or possibly merge it with this one. If you do have such a situation feel free to contact me and I can move your thread for you avoiding the need to recreate it and create a double post which will annoy people. The problem with double posts is that people start answering and one only to find that someone else has already answered and another one and it just gets really annoying plus it's nice to all talk about the same thing in the same place.

author: Vic20
author_rank: Contributor
timestamp: February 17, 2018, 09:42:44 pm
content: That's the post:https://www.eevblog.com/forum/projects/small-lab-(slab)-release/If you want, just remove the post in the Microcontroller threadI don't want to take it from the Project thread because although I think that belong to both, it probably suits best to the other oneSorry for the inconvenience

author: Simon
author_rank: Unknown
timestamp: February 17, 2018, 09:44:55 pm
content: Okay I have moved that topic over to this same category and I have locked this one as it does not have any replies as of yet.
Any good Vietnamese language Arduino and Energia tutorials? - Page 1
Forum section: electronics / general

author: PedroDaGr8
author_rank: Super Contributor
timestamp: February 15, 2018, 05:15:08 am
content: Have a quick question for any Vietnamese speakers on here. My father-in-law speaks very little English but has always loved circuits and electrical stuff. He spent most of his life designing/repairing/working on electrical systems. From rewinding transformers and motor stators to designing and building complex circuits he has done it all. He's the old school mostly self-taught self-driven kinda guy. He has expressed interest in learning more about basic programming and Arduino like stuff when I have mentioned it. I recently picked up a TI LaunchPad and a couple of Arduinos for him (the Arduinos are still enroute) but I gave him the LaunhPad for Têt. Does anyone have any good online tutorial for Energia and/or Arduino written in Vietnamese? As I don't speak it much and my wife doesn't program she can't help tell me what's good. He's a bit nervous that he's too old to learn something this hightech, so something that goes from basics would be great.Thanks/c?m ?n!Sent from my LG-LS998 using Tapatalk

author: technix
author_rank: Super Contributor
timestamp: February 15, 2018, 10:47:44 am
content: AFAIK the best tutorial and documentation is in English. You may try your luck at machine translating material from English or Chinese.

author: dsquang
author_rank: Newbie
timestamp: February 18, 2018, 02:20:52 am
content: It's a nice gift for your father-in-law.He may check outhttp://arduino.vn/
Maynuo DC loads and the Modbus protocol - Page 1
Forum section: electronics / general

author: Mr. Scram
author_rank: Super Contributor
timestamp: February 14, 2018, 10:48:19 pm
content: Currently I'm looking at my options in regards to buying a DC load. I've always had a soft spot for the Maynuo loads, but they come with a major drawback. They don't talk SCPI. Instead they seem to talk the Modbus protocol. Unfortunately I have zero experience with this and even though I've looked at various tutorials, descriptions and the Maynuo manuals, I can't quite wrap my head around it. Before spending a not insignificant amount of money, I'd like to know how feasible it is for me to talk to one of these units.Ideally, I'd talk to the unit using Visual Studio and VB.net specifically. I've found various libraries that should take the hard work out of talking to anything using Modbus, but I'm still not quite sure what I would be looking at. I know it's an older industry standard, so I suppose plenty of people should have experience. Is there anyone who can shed some light on what would go into talking to a device this way or point me in the right direction?http://www.maynuo.com/downloadfile/2012050437183497.pdffrom page 33

author: sca
author_rank: Regular Contributor
timestamp: February 14, 2018, 11:13:15 pm
content: Looks like they impement the server, so you get to do the easier client.Try the Sapia modbus winforms control. Their demo app will do all the functions you need. Trial version only, but you can use it to prove everything is working, then either licence it or spin your ownhttp://www.sapia-inc.com/software/SMRNControl.htmlModbus standards are athttp://www.modbus.org/specs.phpand include code for doing the crc which is easy to port from c.sca
Programming Atmel AT89S8253 - Page 1
Forum section: electronics / general

author: Merlyn
author_rank: Contributor
timestamp: February 13, 2018, 01:08:41 pm
content: Hi,I'm having trouble reading not speaking of programming this uCU.Would someone who has actually programmed this chip give some advice how they did it? Methods tried so far:1/ Avrdude (Avrdudess GUI, added 8253 definition in the CONF file) and Pickit2 (supported by Avrdude)2/ PonyProg via the COM port with the serial setup recommended.Thanks in advance.
SPI FLASH memory manufacturer quality - Page 1
Forum section: electronics / general

author: hcglitte
author_rank: Regular Contributor
timestamp: February 08, 2018, 05:53:04 pm
content: Hi,I am currently using Microchip 4MB Flash at about 0.8 USD pcs. I see on digikey that this:https://www.digikey.com/product-detail/en/fremont-micro-devices-usa/FT25H04S-RT/1219-1190-1-ND/5875686is 0.21 USD. I am concerned about the reliability of this lower cost option compared to Microchip. Is there anyone else who has used thisbrand before? I saw the other post here regarding that particular manufacturer.

author: technix
author_rank: Super Contributor
timestamp: February 08, 2018, 06:22:56 pm
content: I have never used that brand before. But ifthis threadtells the truth, it should be a 5V only part.If you seek cheaper chip, Winbond and GigaDevice may be some better options.
IGLOO nano V2 vs. V5 - Page 1
Forum section: electronics / general

author: nicalitz
author_rank: Regular Contributor
timestamp: February 08, 2018, 08:44:57 am
content: Quick question for those of you familiar with Microsemi's IGLOO nano FPGA chips:I've noticed that these chips offer two voltage supply specifications: V2 spec, which allows supply voltages between 1.2V and 1.5V, and V5 spec, which allows 1.5V supply voltage only.Now to my question: What advantages, if any, does the V5 spec'ed parts have over the V2? Particularly from a functional/performance point of view? The V5s seem to be slightly less expensive than the V2s (even though not by much), which could count in its favor for large scale production.I assume that the V5s are merely V2s that have been scrapped (i.e., failed testing). Would anyone be able to confirm this for me? If this is not the case, what are the differences in terms of fabrication?Finally, if I am correct is assuming that the V5s are scrapped V2s, would it be possible for the V2 part to deteriorate over time, especially when operated in harsh environments (ionizing radiation in particular), to also exhibit reduced functionality when powered from 1.2V?

author: danadak
author_rank: Super Contributor
timestamp: February 08, 2018, 12:12:32 pm
content: Just google "cmos ionizing radiation", all CMOS is affected, tons ofwork done in this area. Also check NASA tech briefs for studiesdone on this.Regards,. Dana.

author: nicalitz
author_rank: Regular Contributor
timestamp: February 08, 2018, 03:26:37 pm
content: Thank you for the suggestion Dana.Thankfully I have a firm understanding of the effects of radiation on CMOS technology. And yes, by rule of thumb, CMOS does tend to be more susceptible to radiation at lower voltages.The focus of my question was more to draw comparisons between the V2 and V5 parts, particularly in terms of their fabrication. The radiation part of my original post was intended more as a side note.
Info on reset code for LCD Controller ILI9881C - Page 1
Forum section: electronics / general

author: vaualbus
author_rank: Frequent Contributor
timestamp: February 07, 2018, 04:01:21 pm
content: Is not happening a lot but i think i need your help guys.I'm designing an display system for telemetry for a project in my university.I've developed a lot of code and tested it on dev board and now is the time to switch to real panel.The LCDis drive by MIPI/DSi interface across two lane and is the following model: TL070HDV03CT which have a controller ic called ILI9881C, for my micro I use a STM769, a "beast" that have a two lane dsi controller inside.Now my big question is I have read the controller datasheet but can't figured out what are the command that I have to send to them for reset it.There is a tone of command I don't think that all are necessary.Can somebody take a look at the datasheet and give me some suggestion?I write data to the display by DSI but the display is not set in command mode but in video mode, or how is called, basiclly I'm sending the entire framebuffer from ram to the display.I was able to contact the seller of the display and she give me some code but I can't use it because in their example they are using a DSI chip interface for converting from rgb to dsi and send command to the ic, an SD2825, via SPI.Now I have no idea if that reset code for the display would work in my configuration, and I doupt it.So the display is a 1280x720 display. I can get it to work at 30fps using my micro (60fps would require 4 lane dsi), but I can't figured out the timing I need.I mean what is the hsyn, vsync, hporc, vporch paramaters for the display? They are not write in the datasheet. Given is a 720p there is some standard for that?Thanks, for your help,Alberto.
embedded linux on MikroTik Routerboard RB800 ? - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: February 09, 2018, 03:54:43 pm
content: I am looking at MikroTik Routerboard RB800, that is a very interesting PowerPC-based micro-machine, but it's not clear to me *IF* it's possible to replace RouterOS (made by MikroTik, and installed in the built-in flash) with linux without having to pass through a sort of virtualization called "MetaRouter" (MicroTik technology and terminology, as far as I understand)I can't put a linux kernel inside a virtual machine running on the top of RouterOS because I need to access directly to the miniPCI mem-space and RouterOS doesn't allow a virtual machine to do so.... anyone experienced with linux, running natively on RB800 or RB1000?Thanks
LPC4337 Dual core example, M0 run from Flash bankB problem - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: February 05, 2018, 02:47:52 pm
content: Hi,I want to use flash bank A for the M4 core at Address of 0x1A000000 and Ram at address of 0x20000000,so far so good,This is my code inside the M4 coreM4 main codeCode:{/* Stop CM0 core */LPC_RGU->RESET_CTRL1 = (1 << 24);/* Download CM0 application */Load_CM0_Image (0x1B000000, LR0, sizeof(LR0));/* Start CM0 core */LPC_RGU->RESET_CTRL1 = 0;}/*----------------------------------------------------------------------------Load Cortex M0APP Application Image*----------------------------------------------------------------------------*/void Load_CM0_Image (uint32_t DestAddr, const uint8_t *Image, uint32_t Sz) {uint32_t i;uint8_t *dp = (uint8_t *)DestAddr;// /* Copy application image */// for (i = 0; i < Sz; i++) {// dp = Image;// }/* Set shadow pointer to beginning of the CM0 application */LPC_CREG->M0APPMEMMAP = DestAddr;}And here is my M0 code with these settings ,flash from 0x1B000000 and ram from 0x10000000M0 main fileCode:{int i=0;for (;;){i++;}}and these are the command line commands for the M0 projectCode:$K/ARM/BIN/ElfDwT.exe !L BASEADDRESS(0x1A000000)fromelf --cadcombined --output="..\Cortex M4\CM0_Image.c" ".\Objects\Test.axf"and this one is for the M4 coreCode:$K/ARM/BIN/ElfDwT.exe !L BASEADDRESS(0x1A000000)The problem is that the Flash bank B @ 0x1B000000 is empty when I view it with j-link in debug and even if I program it with M0 app when I start debugging of M0, it would not run! Do you have any Idea what might has gone wrong? what should I do to use the Flash bank B as the Code part for M0 core, I have successfully done it in the RAM but I need it in the flash
nRF91 Released - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: February 03, 2018, 06:46:19 am
content: Hi,It's a very new chip from Nordic based on M33 core! it seems very cool and promising... the problem is that there is no info regarding speed,ram, flash and Peripherals and of course the price, Do you have any info? anything more than 2.5$ in 10K quantity would be shooting in their foot!

author: ataradov
author_rank: Super Contributor
timestamp: February 03, 2018, 07:06:51 am
content: That seems highly unbalanced - LTE/GPS and M33.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: February 03, 2018, 07:34:04 am
content: I hope at least it would have higher speed and none 16MHz multiplied CPU clock! like the nRF51 and nRF52 series,
ESP8266 ESP12E - Page 1
Forum section: electronics / general

author: Metonymy
author_rank: Newbie
timestamp: February 02, 2018, 12:23:24 pm
content: Hello,Not long ago I have purchased a NodeMCU module from Aliexpress in order to teach myself about FreeRTOS.I'm unable to get this example to work on it:https://github.com/espressif/ESP8266_RTOS_SDK/tree/master/examples/smart_configWhen running ./gen_misc.sh I use default values, except for the SPI_SIZE_MAP where I chose 4.I got the following output:---!!!SDK_PATH: /home/denis/Development/ESP8266_RTOS_SDKBIN_PATH: /home/denis/Development/ESP8266_RTOS_SDK/binNo boot needed.Generate eagle.flash.bin and eagle.irom0text.bin successully in BIN_PATHeagle.flash.bin-------->0x00000eagle.irom0text.bin---->0x20000!!!---And I've tried the following commands, each one without success:esptool.py write_flash 0x00000 eagle.flash.bin 0x20000 eagle.irom0text.bin 0x7E000 blank.bin // Led blinks rapidlyesptool.py write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin 0x7E000 blank.bin // Led doesn't blink however smart config doesn't work.esptool.py write_flash 0x00000 eagle.flash.bin 0x20000 eagle.irom0text.bin // Led blinks rapidlyI've also tried to flash the blinky example from esp-open-sdk, didn't work, led started blinking but not according to the code.Could anybody tell me what I'm doing wrong? My board is: V3 Wireless module NodeMcu 4M bytes Lua WIFI Internet of Things development board based ESP8266 esp-12e

author: Psi
author_rank: Super Contributor
timestamp: February 02, 2018, 01:18:32 pm
content: Install arduino and its ESP8266 library.One you get that working, which is quite easy, you should be able to look at the log window from an upload and see what esptool.py command parameters arduino uses to program your esp.And you can run some examples to confirm your board is goodanother thing that might be worth doing is use a serial terminal to read the ESP8266 serial boot data when starting it in bootloader mode.It may tell you some useful info about your particular chip. From memory it spits out info at either 115k or 56k board

author: Metonymy
author_rank: Newbie
timestamp: February 02, 2018, 03:57:36 pm
content: I did test with Arduino IDE the first time I got the board, it was working okay.And right now, I got the blinky exameple from rtos-open-sdk working, the trick is to use:esptool.py write_flash 0x3FC000 esp_init_data_default.binesptool.py write_flash 0x3FE000 blank.binesptool.py write_flash 0x00000 blinky-0x00000.bin 0x10000 blinky-0x10000.binI did not know about "esptool.py write_flash 0x3FC000 esp_init_data_default.bin"Apparently the same result can be accomplished with:esptool.py erase_flashesptool.py write_flash 0x3FC000 esp_init_data_default.binesptool.py write_flash 0x00000 blinky-0x00000.bin 0x10000 blinky-0x10000.binThis is great!I saw esp_init_data_default in the datasheet but I didn't know that it is required.Here's the output of flash_id if someone is interested:Manufacturer: 20Device: 4016I just tested the samart_config example from FreeRTOS SDK and it works!!
Need advice on HX711 calibration - Page 1
Forum section: electronics / general

author: muthukural001
author_rank: Regular Contributor
timestamp: February 01, 2018, 02:25:08 pm
content: Hello All,Its too early to ask about the calibration since I haven't done any real time weight meaurements. But, I want to know how it is.Well, I have done on chip System Zero sacle calibration and System full scale calibration when I worked with AD7124 by setting the respective registes .But, it seems to be HX711 has no onchip calibration feature and I don't know that how to apply calibration coefficient with the measured values in the firmware. I am using HX711 for load cell which have 1.987 mV/V with the max weight being 10 Kg.It would be helpful if anybody share some points.Regards,Muthu

author: Kalvin
author_rank: Super Contributor
timestamp: February 01, 2018, 03:15:07 pm
content: Here is some information on how to use the HX711 ADC with a load cell plus some example code for Arduino:https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guideBasically you need to measure the zero reading and then place a known weight to the load cell, and then get the reading for the calibration weight. From the zero reading and the calibration reading you can calculate the calibration coefficient. You can store the calibration coefficient into the Arduino's EEPROM memory. From time to time you may want to validate the calibration using the calibration weight, and update the calibration coefficient if needed.

author: muthukural001
author_rank: Regular Contributor
timestamp: February 02, 2018, 02:45:48 pm
content: Hi Kalvin,Thank you.I will do as you said. Since boards are not in our hand, I could not test it. I will ask if I face any problem while testing.Regards,Muthu
saf-c167cr ha+ - Page 1
Forum section: electronics / general

author: anf_andrei
author_rank: Newbie
timestamp: February 02, 2018, 09:25:31 am
content: http://www.keil.com/dd/docs/datashts/infineon/c167cr_ds.pdfanyone knows if this can deliver itself 5v in reset pin ?i have a problem in a circuit. it starts only sometimes. when it sarts i have 5v in reset. when 0v in reset this is not starting.when i lift pin 140 always i have 5v on board with reset signals from another parts. but with lifted pin only sometimes i have 5v reset. is any condition on processor to lift 5v in reset?
LWmesh support for AT86RF215 - Page 1
Forum section: electronics / general

author: Nick Novak
author_rank: Contributor
timestamp: January 31, 2018, 08:46:28 pm
content: Good day all,I'm wondering if anyone has any intel on whether Atmel / Microchip will release a LWmesh compatible PHY driver for the AT86RF215 radio? I was really hoping it might be there when I updated to studio 7 but I see very little in terms of example code for the 215. Just the chat application and the phy drivers look to have a pretty different structure.I've really just taken a first glance at this but has anyone undertaken to replace the RF233 with the 215 in their application? If so how did that go?Nick

author: ataradov
author_rank: Super Contributor
timestamp: January 31, 2018, 08:59:43 pm
content: I have no real information on the subject, but AT86RF215 targets a very different market, so I doubt there will be an official port.It should not be that hard to make your own port, if you start with a standalone version of LwMesh. If you are stuck with ASF, then good luck with that.
General use JTAG<->USB programmer-debuger etc. - Page 1
Forum section: electronics / general

author: firewalker
author_rank: Super Contributor
timestamp: January 23, 2018, 09:15:53 am
content: Is there any cheapish (school lab use) general use, jtag <-> usb interface?Is this clone close to a general use interface?https://www.aliexpress.com/item/1PC-JLI-V9-J-LINK-ARM-emulator-support-A9A8-V9-3-high-speed-download/32790881245.htmlAlexander.

author: llkiwi2006
author_rank: Regular Contributor
timestamp: January 23, 2018, 09:27:47 am
content: What do you want to use the jtag for? Programming & debugging a microcontroller?

author: firewalker
author_rank: Super Contributor
timestamp: January 23, 2018, 10:15:28 am
content: Mainly to poke around devices (instruments, consumer etc) that provide a jtag header.Alexander.

author: kulla
author_rank: Unknown
timestamp: January 23, 2018, 10:17:29 am
content: That clone is ok, you can check also Bus Pirate where you get JTAG and lot, lot more.http://dangerousprototypes.com/docs/Bus_Pirate

author: Jeroen3
author_rank: Super Contributor
timestamp: January 23, 2018, 10:20:43 am
content: Quote from: firewalker on January 23, 2018, 09:15:53 amSegger JLINK-EDU

author: rsjsouza
author_rank: Super Contributor
timestamp: January 26, 2018, 07:07:56 pm
content: Flyswatter2

author: laugensalm
author_rank: Regular Contributor
timestamp: January 28, 2018, 03:42:07 pm
content: The FT2232(H) based solutions shouldn't be left unmentioned, as they get the widest support by a many open source tools. But it really depends on what you are looking to peek into. For the most of the ARM derivatives you might have fun with OpenOCD (which has drivers for other adapters as well), but there's loads more you can do with JTAG, like all the powerful boundary scan stuff to snoop on pins (like GoJTAG).Although JTAG is somewhat standardized, the register definitions behind the on-chip "TAP controller" aren't. So you've got to choose the right software, too.
Chinese language help: Cepark ATmega16 development board v2.0 - Page 1
Forum section: electronics / general

author: frozenfrogz
author_rank: Frequent Contributor
timestamp: January 26, 2018, 01:49:52 pm
content: I bought a bunch of MCU dev boards from the small ads and one of the boards is a Cepark ATmega16 v2.0 development board with a button matrix, RRTC, two 74HC595 shift registers driving LED numerical displays, DS18B20 temperature sensors, a 24C02 EEPROM etc.Sadly I could not find a schematic. I was hoping that one of you guys could help me out finding a schematic for me on the chinese site and give me an overview on the pinout. Already tried Google translate on the Cepark website but that did not get me very far.Thank you and kind regards!P.S. I had an Atmega32A on hand and replaced the Atmega16 - they should be pin compatible, the ADC is missing (TLC5615)

author: Nusa
author_rank: Super Contributor
timestamp: January 26, 2018, 02:08:17 pm
content: I think this mostly matches what you have:http://d1.amobbs.com/bbs_upload782111/files_44/ourdev_671037ZBJVIV.pdf

author: frozenfrogz
author_rank: Frequent Contributor
timestamp: January 26, 2018, 03:08:54 pm
content: Thank you both for the quick response!I think these are enough pointers to unravel everything.I love you and this forum

author: Brutte
author_rank: Frequent Contributor
timestamp: January 26, 2018, 05:43:42 pm
content: A very nice eval. ATMega16/32 and ATMega128 work great with gcc andJTAGICE Mk1.
Linux Conference Australia 2019 - Page 1
Forum section: electronics / general

author: hamster_nz
author_rank: Super Contributor
timestamp: January 26, 2018, 08:36:12 am
content: The location for LCA2019 has been announced - Christchurch NZ (aka here!), at the University of Canterbury.Linux, electronics and IoT sort of go together pretty well. Theme is "Linux of Things" - so I expect lots of IoT and embedded topics. Even if you are not a big Linux User there are usually some interesting specialist mini-conferences alongside it.Seehttp://lca2019.linux.org.au/to subscribe to the mailing list.
stm32f7-discovery - I saved it, erased it, can't restore it - Page 1
Forum section: electronics / general

author: alank2
author_rank: Super Contributor
timestamp: January 23, 2018, 12:58:00 am
content: I needed to test the PHY and see if it would connect even when the device had no firmware, so I used the ST_Link utility to connect to it and saved a test.hex (1129075 bytes). I then erased it and performed the test I need to. Now I am trying to restore the test.hex, and it says it did and a comparison says it matches the test.hex file, but it is not running the application. No touch screen, etc.

author: newbrain
author_rank: Super Contributor
timestamp: January 23, 2018, 01:05:15 pm
content: If you are talking about the demo application that's preloaded on the 746 Disco board, you are missing a good part of it...That demo includes parts that are loaded on the on board QSPI flash, and needs to be flashed using the right "External Loader" in ST-Link utility.THe QSPI contents should have preserved though...The whole .hex file for the demo can be found in the F7 Cube, under...\STM32Cube_FW_F7_V1.7.0\Projects\STM32746G-Discovery\Demonstration\Binaries, and it's ~15MB long.If opened with ST-Link utility, it shows regular flash contents (0x08000000-0x08096C5D) and QSPI flash contents (0x90000000-0x904AD4C0).If the program you are trying to restore is a different one, the problem might lie somewhere else...can you add some details to the steps performed?Edit:I've just cut the QSPI flash content from my demo .hex, and it's larger than the one you mention. I attach it here, but if you have a different Cube version, it might be not be the same.

author: alank2
author_rank: Super Contributor
timestamp: January 23, 2018, 03:44:14 pm
content: Thank you - I found the STM32746G-DISCO_Demo_V1.4.0.hex and checked the external loader box and that worked great.
PIC32MZ Bootloader in Assembly - Page 1
Forum section: electronics / general

author: Simbarashe Bryne Chipembe
author_rank: Contributor
timestamp: January 25, 2018, 11:22:09 am
content: Hi Guys,I would like to develop a booloader for my PIC32MZ2048 in assembly. I am adept to MPSAM, I would like to know which enviroment I should use to write the assembly code. I would also appreciate any working code (blinky...etc) just to get me going.I have taken a brief look at the harmony bootloaders, but I still feel the need to develop one in assembly.Thanks for taking a look.

author: westfw
author_rank: Super Contributor
timestamp: January 26, 2018, 02:44:50 am
content: QuoteYou mean MPASM - the assembler for 8bit PICs? The PIC32s have a completely different assembly language, and a completely different assembler (gnu assembler (gas) for MIPS.)QuoteStart with some of the C examples and disassemble them with the PIC32 "objdump" utility?
STM32F0 Failed to read memory - Page 1
Forum section: electronics / general

author: Dubbie
author_rank: Unknown
timestamp: January 23, 2018, 01:03:26 am
content: I just assembled a board with a stm32F0 chip.I am connecting to it with st-link utility and a st-linkV2 via SWDIt connects fine, but if I try to read past 0x8007FF0 I get an error: Failed to read memory @08008000!Trying to write a bin to it fails as well.Does this mean the chip is damaged or is there something I am overlooking?I tried erasing the memory, but that didn't make any difference.Thanks,R

author: llkiwi2006
author_rank: Regular Contributor
timestamp: January 23, 2018, 01:56:10 am
content: 0x8000 is 32k of flash. What chip do you have? Are you sure it has more than 32k of flash?

author: Dubbie
author_rank: Unknown
timestamp: January 23, 2018, 02:17:22 am
content: Argh! Of course you are right. It only has 32K.Why does STLink Utility try to read past 32K if I try to save the memory? I am stupid. I never noticed the size field before. If I put 0x8000 in there, it all works properly.Thanks for the help.
I2C / TWI for Arduino with FreeRTOS? - Page 1
Forum section: electronics / general

author: zaphod_b
author_rank: Newbie
timestamp: February 02, 2018, 05:11:48 pm
content: Hi,anybody out there with a good 'hello world' for making I2C work on an Arduino Mega under FreeRTOS?Seems there is not so much stuff out there on Google (spent nearly 2 days) covering the Arduino / AVR / Atmel platform.Yeah - SPI seems to be working - but not much on I2C.I am currently building a smallish project requiring reading / writing to sensors and a display using TWI / I2C and all efforts I made ended nowhere.I surely can talk to my I2C bus devices - but when I start the schedulervTaskStartScheduler()everything stops working.I tried the usual suspects (turning off interrupts / Semaphores / taskENTER_CRITICAL() ) - without success.Don't want to spend too much time rewriting existing libraries etc.So: Do you have any template / library files that make i2c easy for FreeRTOS on Arduino?

author: iMo
author_rank: Super Contributor
timestamp: February 02, 2018, 07:25:46 pm
content: You have to create a mutex and guard the call to the I2C resource withxSemaphoreTake.. here the I2C accessxSemaphoreGiveSee for example:https://www.freertos.org/a00122.html

author: rheb1026
author_rank: Regular Contributor
timestamp: February 03, 2018, 05:04:30 am
content: You can try adding more to that I2C tasks stack size. I’ve found this is usually the cause of my programs locking up when I make changes.I’d suggest enabling the task overflow hook during development/debug. Makes it really easy to find the offending task

author: zaphod_b
author_rank: Newbie
timestamp: February 06, 2018, 01:38:46 pm
content: @IMO: As there is only one task in my demo code that uses the I2C bus I believe that this will not make a difference as there are no other competing tasks for this resource. (and I tried it before as well but without success)...
TrueStudio v9 released - 100% Free but only for STM32 - Page 1
Forum section: electronics / general

author: plastygrove
author_rank: Contributor
timestamp: January 20, 2018, 12:09:51 am
content: Since I'm working with STM32 at the moment, this is good news. Just installed it and am happy to say the nag screen is gone and the pro features like memory and fault analyser are now available. To be fair, since v8 didn't limit the code size and I wasn't really using the pro-features, the real benefit for me is the annoying nag screen going away.I suppose I'll have to now use a different IDE if I ever choose to use Atmel, NXP or any other ARM microcontroller apart from STM32.Imported a project from v8 workspace to v9 and it works fine.More details in the links below.Blog AnnouncementRevision HistoryDownload linkUpgrade guide

author: mubes
author_rank: Regular Contributor
timestamp: January 20, 2018, 01:17:23 pm
content: The real good stuff about this move is that you get full access to things like swo and etb....that allows you to do logging and post-mortem analysis of how your code came to be at this place. It's a huge step forward for cortex-m to have this stuff available for free and a real game changer for ST.The probes needed to support most of these features are cheap too ... A simple STLink or JLink is enough for basic output and, as far as I know, the stuff even supports JTrace for full fat streaming trace! I'm currently pestering them to support orbuculum and orbtrace cos that would give you trace output on a $25 adaptor board.Dave

author: plastygrove
author_rank: Contributor
timestamp: January 20, 2018, 04:11:44 pm
content: I had to google for SWO (Single Wire Output) and ETB (Embedded Trace Buffer). That's so cool, I had no idea Cortex-M was capable of such complex debugging capabilities. Definitely something for me to learn more about!
DE0-nano VGA Pong game - Page 1
Forum section: electronics / general

author: rsmantini
author_rank: Newbie
timestamp: September 21, 2015, 03:06:02 am
content: Hi folks, this is my first post here in the forum.I recently bought an DE0-nano so I decided to make a pong game to learn VHDL and FPGA synthesis.(also because it's fun!)Here's what a got:ps: It's very hard to play with one hand and record with the otherThe VGA controller runs at 800x600 with 72Hz refresh rate. I used this values because it's the maximum you can get with the 50MHz oscillator that comes with the DE0-nano board without using a PLL.To make the controls I used two analog sticks from a old playstation1 usb controller I had laying around here and the ADC that comes with the board.The full game used something like 3k logic elements. The majority of those for the collision system. If I restricted the rackets movements only in the Y axis I think I could have done it with 1k LEs or so.Here are some pictures of the whole thing:If anyone want the code I can post it here, but it's a bloody mess because it was my first go with FPGAs and VHDL.

author: MiguelSandoyaM
author_rank: Newbie
timestamp: January 19, 2018, 05:09:46 am
content: Please can you post you code I want to do something like that. I want to do a Pong game with a De0 nano but using C++

author: asgard20032
author_rank: Regular Contributor
timestamp: January 19, 2018, 06:48:13 am
content: I am very interested to see your code.Is it your first project? If so, it is very well done.Also, if you want, I may help clean the code. I want to sharpen my code quality in VHDL, what a better exercise than some code refactoring.

author: Wiljan
author_rank: Regular Contributor
timestamp: January 19, 2018, 09:24:02 am
content: You can find a Pong game herehttp://www.fpga4fun.com/PongGame.htmlwith a lot of explanation so it's pretty easy to start from
Arduino DCD-DC Boost Converter - Page 1
Forum section: electronics / general

author: ebaketa
author_rank: Newbie
timestamp: January 17, 2018, 11:05:55 pm
content: Hello everyone, if someone is willing to help and know how, please?How to choose a coil?Does it depend on the PWM signal frequency?For the test I used a coil of 30uH, Arduino PWM 62kHz and get the following results?5V DC to 12V DC, drive 12V/21W bulb, no problem, the current is about 1.7A!When I lower the voltage input to 3.3V then I get a current of 300mA and do not go any further.

author: NiHaoMike
author_rank: Super Contributor
timestamp: January 18, 2018, 03:16:15 am
content: Easier to use a dedicated boost controller chip. If you're looking for something other than a plain boost converter, there are processors like dsPIC and C2000 specifically designed for digital power applications.

author: ebaketa
author_rank: Newbie
timestamp: January 18, 2018, 06:47:42 am
content: Thank you for answer!
PSOC analog coprocessor availability? - Page 1
Forum section: electronics / general

author: Kalin
author_rank: Regular Contributor
timestamp: January 17, 2018, 02:05:45 pm
content: I see the dev boards available from most major distributors,but I can't seem to find the chips themselves available/in-stock. Is this something I would have to contact the manufacturer about or are they just not available for purchase as of yet?Sent from my SM-G930W8 using Tapatalk

author: ogden
author_rank: Super Contributor
timestamp: January 17, 2018, 02:40:09 pm
content: Quote from: Kalin on January 17, 2018, 02:05:45 pmReasons usually vary. CY8C4Axx seems to be recently introduced - that's why they could be out of stock. You shall request delivery quote from preferred distributor.https://www.findchips.com/search/CY8C4A45https://mouser.com/quote/quote.aspx
Chinese motor controller - Page 1
Forum section: electronics / general

author: tomcuga
author_rank: Newbie
timestamp: January 23, 2018, 09:27:14 am
content: Hi,could somebody give me some generic directions how to control this Chinese motor controller with some microcontroller...Any informations are of great value,Thanks a lot in advance.

author: Nusa
author_rank: Super Contributor
timestamp: January 23, 2018, 09:36:54 am
content: You have failed to identify the controller. Diagrams of connectors specific to an unidentified product isn't going to do it.

author: tomcuga
author_rank: Newbie
timestamp: January 24, 2018, 06:12:19 am
content: Hi,Thank you very much for your reply. Controller is KTF03018A.Thanks a lot.
mCPC, C-programmable Controller with MSP430 - Page 1
Forum section: electronics / general

author: msp430
author_rank: Newbie
timestamp: January 13, 2018, 04:27:55 pm
content: mCPC430is an industry ready, freely C-programmable controller, based on MSP430 processor. It offers the flexibility of C programming language using integrated development environment from Texas Instruments. The main advantage of using this device is that it can take a product from concept to market in a short time by investing only in writing the application code. Thus, the product designer will focus on writing the application code, based on an already designed and tested hardware system.The main applications of this device are:- temperature/pressure/level measuring and controlling- data logger- small automation- flow metering for gas, steam, water- gas volume corrector- utility metering- telemetry/SCADA- heat metering
K150 PIC programmer - simulation works but reality doesn't - Page 1
Forum section: electronics / general

author: angelothewolf
author_rank: Contributor
timestamp: December 12, 2017, 07:20:25 pm
content: Hello there,I'm a beginner in PIC programming and I'm trying to run a simple Blinking Led program. I'm using MikroC Pro, Proteus 8 Professional and a K150 PIC programmer. I have a PIC 16F818.The code is:#pragma config OSC = INTIO1#pragma config WDT = OFFvoid main(){OSCCON = 0x70;TRISA = 0x00;PORTA = 0x00;while(1){PORTA = 0x01;delay_ms(500);PORTA = 0x00;delay_ms(500);}}The simulation in Proteus is working fine (although it takes 2 seconds for the led to blink). The K150 programmer seems to be working as well (it doesn't report any warnings). But when I set the circuit on the protoboard, the led lights up but never turns off. I've tried some variations of this code, using other ports, different delay times, but the same problem occurs. I don't think it is necessary to configure the internal oscillator or disable the watchdog timer, but I've tried it anyway. I've attached an image of the circuit simulation. The connections on the protoboard seems to be correct, with 5V on VDD (Pin 14) and GND on VSS (Pin 4).Does anyone have any suggestions?

author: picandmix
author_rank: Frequent Contributor
timestamp: December 12, 2017, 08:36:06 pm
content: Hi,PortA is by default set to Analogue Input, so you need to use ADCON1 to set it to Digital, followed by TRISA to Outputs.Or just use PortB instead, which is Digital by default.As for your simulation running slow, have you changed its default clock speed, often 1Mhz; the Sim usually ignores OSCON in your code.

author: angelothewolf
author_rank: Contributor
timestamp: January 15, 2018, 07:32:26 pm
content: Thanks for the reply. You are right, but the problem was that I've accidentally burned the chip. I've used PortB in a new chip and it worked.

author: picandmix
author_rank: Frequent Contributor
timestamp: January 15, 2018, 08:41:11 pm
content: Glad you have got it working, though you do not need to use a new chip each time your reprogram.Modern Pic chips flash program memory can be rewritten many thousands of times, the programmer takes care of all that for you.In your other thread, as said, unless your voltage is very steady and all connections very firm, the Least Significant one or two Bits may well flash on/off or dim. Placing 100nf and say 10uf capacitors close to and across the vdd and vss pins of the pic will help reduce that effectAs you turn your pot, you may also get uneven led values as it could be moving/changing resistance as it takes the ADC reading from it. though it should stabalize once you stop turning.
Measuring Low Power Mode 3.5 in MSP430FR231x - Page 1
Forum section: electronics / general

author: vijayenthiran
author_rank: Newbie
timestamp: January 14, 2018, 10:38:25 am
content: Hello,I wrote a blog post about the experiment I did to profile the Low Power Mode 3.5 in MSP430FR2311 Microcontroller from Texas Instruments. I used a custom assembled µCurrent GOLD for current measurements.Here's the link:https://vijayenthiran.blogspot.com/2018/01/measuring-low-power-mode-35-in.htmlI have made few guesses based on the observations. Please let me know the feedback on the post.Thanks.
Help with Lattice MachXO3L SMA/DSI breakout board - Page 1
Forum section: electronics / general

author: liu3hao
author_rank: Newbie
timestamp: October 28, 2016, 05:03:24 pm
content: Hi all!I'm working with a Lattice MachXO3L SMA/DSI breakout board. After trying to use the Reveal Analyser and uploading the code to the FPGA, the breakout board is no longer recognised by my computer. When using the Lattice Programmer, and searching for device on the FTUSB-0 port it says there's "No board with FTDI USB Host Chip detected."I've done some research and found out from the Lattice MachXO3L Starter Kit User Guide:QuoteHowever this may not apply for the MachXO3L SMA/DSI breakout board as there is no R23 on the FTDI (referring to the MachXO3L SMA/DSI breakout board user guide).Is there any fix or solution for this?Thanks for any help or advice!

author: kakemoms
author_rank: Newbie
timestamp: March 24, 2017, 05:29:58 pm
content: I have this exact same problem, and in my instance I also tried to measure the 12MHz clock that was supposed to come from the X1 crystal. I found no clock, so it basically means that my board is unable to communicate (through USB) since the FTDI chip has no clock (and thus isn't running). I have a second starter kit board so I wont bother with repairs for now. One should still be able to program the board with JTAG, so if you have one of those you can try to use that and see if it works.The R23 is basically a shortcut between the 12MHz clock and C8. It seems that older versions of the board had a 0 ohm resistor on R23, so that the MachXO3 could use the 12MHz clock as an external clock source. Since the software connects non-specified outputs to random pins, it could happen that the C8 was connected to a non-specified output and thus rendered the 12MHz clock dead. I think that is the reason they removed the R23 resistor from the later boards.

author: kjertil
author_rank: Newbie
timestamp: January 11, 2018, 05:36:57 pm
content: RESOLVED!I had the same problem so i removed R23 - et voilà' - the 12 MHz oscillator is running again! Thanks for the tip!Next step could be to add in a resistor with the right value so that your FPGA can't pull this line too low for the oscillator to die again.*EDIT*A 330 ohm resistor seems to do the trick, the PLL locks to the signal coming in on pin C8.