hybridfree/eevblog-posts huggingface dataset:
Not able to update firmware in J-link Clone - Page 1
Forum section: electronics / general

author: jtronix
author_rank: Regular Contributor
timestamp: August 21, 2017, 04:16:10 pm
content: I'm trying to debug cortex-a9 cpu but it showing error "J-link does not have a intelligence for selected CPU". After that I'd tried to update the firmware but it showing device already has latest firmware.It showing firmware date 2012 so how it could be latest?? How to update latest firmware in J-link clone??

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: August 21, 2017, 04:55:34 pm
content: This may not be a popular opinion, but buy a real J-Link and stop using Segger's IP on a clone.

author: Kjelt
author_rank: Super Contributor
timestamp: August 21, 2017, 05:20:34 pm
content: Not all Jlinks support the A9.Newer updates are only running on hardware v9 and higher I believe.Besides you have no real Jlink debugger so you will have to email you're Chinese supplier if he has the update for you, good luck.

author: jnz
author_rank: Frequent Contributor
timestamp: August 21, 2017, 05:51:17 pm
content: Clone.Also... I mean, I'm totally on board with someone using a clone if its absolutely their only option. But no one is going to convince me they're working on A9 parts and can't afford a real Segger. That's nonsense.

author: ehughes
author_rank: Frequent Contributor
timestamp: August 21, 2017, 06:10:25 pm
content: Contact the manufacturer of the clone to get more stolen software....Or don't be an asshole and pay Segger for their time.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: August 22, 2017, 01:31:34 am
content: Quote from: jtronix on August 21, 2017, 04:16:10 pmIt's not an error it's a warning.It says you can still use it with your target CPU. Did you try it, and if so did it work?

author: donotdespisethesnake
author_rank: Super Contributor
timestamp: August 22, 2017, 11:18:06 am
content: Quote from: Bruce Abbott on August 22, 2017, 01:31:34 amMore like advertising, it's just saying there is a faster better version available. Segger do this for other features as well. Obviously they want to sell new versions, but it might also help people ditch their clones for the genuine product.

author: technix
author_rank: Super Contributor
timestamp: September 02, 2017, 08:39:31 am
content: The clone is based on the v7 hardware, which is way too old for even Cortex-M4F cores.If this is a hobby project of yours you can upgrade to a a genuine J-Link EDU Mini. It shouldn’t hurt your wallet too much.If it is a commercial project it may be better for you to either buy a genuine J-Link, or build your own CMSIS-DAP debug probe from a STM32F072C8T6 chip. (I used the STM32F0 chip for ST’s free offer of Keil compiler, which can make the building of the CMSIS-DAP firmware much easier.)

author: rsjsouza
author_rank: Super Contributor
timestamp: September 04, 2017, 11:07:30 am
content: This threadmay be relevant for your consideration...
How to read out the memory of the P89LPC932A1 micro? - Page 1
Forum section: electronics / general

author: jgorsk
author_rank: Regular Contributor
timestamp: August 16, 2017, 10:14:26 am
content: Does anyone know how to read out the memory of the P89LPC932A1 micro?I need that to repair a multimeter. All the programmers I know of supportprogramming but not reading (through ICP programming method).Do you know of a programmer that supports parallel programming of theP89LPC932A1 (long time obsolete micro).

author: amyk
author_rank: Super Contributor
timestamp: August 17, 2017, 02:37:13 am
content: The read protection will likely have been set, so you won't be able to copy it without some few k$ to get a reverse-engineering company to do it. The datasheet also suggests that reading the flash is not possible even without read protection, since all you get is a CRC.

author: jgorsk
author_rank: Regular Contributor
timestamp: August 17, 2017, 01:17:18 pm
content: I guess you won't know until you try. The datasheet only documents the ICP/IAP programming which doesn't supportmemory reading. There is also a parallel programming which is not documented. That hopefully is able to read the memory.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: August 18, 2017, 08:32:22 am
content: Here's a programmer that does the P89LPC932A1 in parallel mode:-Topview Programmer A.However it doesn't permitreadingthis particular MCU, which I suspect is an inherent limitation of the P89LPC932A1.

author: amyk
author_rank: Super Contributor
timestamp: August 19, 2017, 12:21:37 am
content: From the datasheet: "This device does not provide for direct verification of code memory contents. Instead, this device provides a 32-bit CRC result on either a sector or the entire user code space."The other day, I did a little more digging around and found an older (serial) programming spec for the LPC900 series, in which one of the items noted in the document revision history was "removed READ command". So it may be possible that this is an MCU with write-only memoryOn the other hand, what the datasheet/official documentation says, and what's actually possible, may not be identical.
Serial bootloader for STM8S (with WiFi and stuff) - Page 1
Forum section: electronics / general

author: lujji
author_rank: Contributor
timestamp: August 16, 2017, 07:17:38 pm
content: I wrote a serial bootloader for STM8S. It’s fast and doesn’t consume much flash (fits in 560 bytes w/SDCC v3.6.8 #9951). I also ported the bootloader protocol to ESP8266, which has various features like drag-n-drop upload, file storage and remote terminal. This project might be useful to the owners of the ESP-14 module, which has an STM8S003 on board.Links:1.stm8-bootloader2.esp-stm8-flasher3.write-up on the bootloader

author: jaromir
author_rank: Unknown
timestamp: August 18, 2017, 05:28:05 pm
content: This looks very useful, thank you.
vhdl Alliance, VLSI/CAD System - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: August 16, 2017, 10:14:49 pm
content: QuoteallianceDoes anyone happen to use it?It might be used as simulator.Tried today from the git-repository.It seems it comes with limited vhdl-features, e.g. it seems it doesn't support library and generic port.btw, the following workedCode:library ieee;use ieee.std_logic_1164.all;use ieee.numeric_std.all;entity priority_encoder isport(in_data : in std_logic_vector (7 downto 0);out_data : out std_logic_vector (3 downto 0));end priority_encoder;architecture behavioral of priority_encoder isbeginprocess (in_data)variable first_one: std_logic:=0;beginfirst_one:= '0';out_data<=(others=>'0');for i in in_data'range loopif ((not first_one) and (in_data(i)='1')) thenfirst_one:='1';out_data<=std_logic_vector(to_unsigned(i,out_data'length));end if;end loop;end process;end behavioral;priority_encoder_2.vhdwith this pat fileCode:--port list--inputsin in_data (7 downto 0) X;;;--outputsout out_data (3 downto 0) X;;;begin--Signal list< 0 fs> : 00 ?0 ;< 20 fs> : 01 ?0 ;< 20 fs> : 02 ?1 ;< 20 fs> : 04 ?2 ;< 20 fs> : 08 ?3 ;< 20 fs> : 10 ?4 ;< 20 fs> : 20 ?5 ;< 20 fs> : 40 ?6 ;< 20 fs> : 80 ?7 ;end;priority_encoder_2.patCode:vasy -I vhd -Vao priority_encoder_2asimut -b priority_encoder_2 priority_encoder_2 priority_encoder_out

author: legacy
author_rank: Super Contributor
timestamp: August 16, 2017, 10:18:38 pm
content: to visualize results, you need to invoke xpat

author: legacy
author_rank: Super Contributor
timestamp: August 18, 2017, 10:02:07 am
content: Made a simple ebuild for gentoo with the last repository version of Alliance.It needs autogen, and ... I had to remove the LaTeX documentation autobuild.it uses OpenMotif X11 libraries, thus it's a good software for old UNIX (e.g. IRIX) and X11-terminals pre-GTK (e.g. Tektronix XP200/400, HP-i960 ... )
TMS320E17 and TMS320P17 ideas? - Page 1
Forum section: electronics / general

author: johnkenyon
author_rank: Regular Contributor
timestamp: August 18, 2017, 09:32:56 am
content: I have a number of TMS320E17 (EPROM, 21 off) and TMS320P17 (OTP 3 off), both in 40 pin DIP.These are first generation TMS320 digital signal processing chips.Anything I learned about DSP was forgotten the moment I graduated.Does anyone have any idea what I could do with these devices, or what value they might have on the "new old stock" market.johnkenyon
Quick J-Link hack to enable 3.3V output - Page 1
Forum section: electronics / general

author: funkathustra
author_rank: Regular Contributor
timestamp: August 18, 2017, 07:50:29 am
content: In case anyone is annoyed with constantly trying to find a 3.3V source to power their J-Link / target, I put together a quick blog post about doing a two-minute hack to re-route 3.3V power externally, and make it easy to jumper it over to VTref:Make your J-Link less annoying with this two-wire 3.3V power fixHope it's useful to someone out there!
Someone running Labview on a Raspberry Pi? - Page 1
Forum section: electronics / general

author: Magnum
author_rank: Regular Contributor
timestamp: August 22, 2017, 11:06:52 pm
content: Hello,I am working on a project where I want to use an Arduino clone to collect data from different sensors and send the data to a Raspberry Pi with a 7" Touchscreen attached as graphical user interface.A second (not so important) project is to make a graphical user interface for my Keithley 2440 (via RS232 or GPIB).As I don't want to write a program to visualize the data myself, I was looking for a easier and faster solution. The first idea was to install Labview on the Pi. But I think that is overkill for this small computer. Now I found "Labview for Raspberry Pi" from TSXperts (www.tsxperts.com). It is a compiler which compiles the Labview Program on a Windows computer and sends it to the Raspberry Pi. The graphical user interface is then running on the Pi.Is someone using this compiler and can tell something about its performance? Or is there another solution out there to easily create a graphical user interface on the Pi?Many thanks,Magnus
Microchip Bodycom - Page 1
Forum section: electronics / general

author: Poe
author_rank: Frequent Contributor
timestamp: August 08, 2017, 05:20:54 pm
content: I can't tell if it's a discontinued feature or still supported.My customer's design could use it, but Microchip no longer sells the development kit and I can't find it or something equivalent on their website.Has anyone used it in a design?

author: DillonMCU
author_rank: Newbie
timestamp: August 11, 2017, 10:49:36 am
content: Last i heard its discontinued

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: August 11, 2017, 11:13:19 am
content: I have the devkit if anyone really wants one...

author: Poe
author_rank: Frequent Contributor
timestamp: August 16, 2017, 07:45:58 pm
content: Just the dev kit or the entire concept is no longer supported?Does anyone know of a similar tech?
How to get the highest quality sound from a port pin driven buzzer? - Page 1
Forum section: electronics / general

author: georgd
author_rank: Regular Contributor
timestamp: August 16, 2017, 04:43:59 am
content: I'm developing a device with simple port driven buzzer. The role of buzzer is a simple signalling without need to reproduce music or speak.The question could I improve the sound quality if I drive it with trapezoid instead of square wave?Under quality I meant sound more music like sound instead of simple buzzer like.Even drive it with two port pins in bridge like circuit?Thanks in advance,Georg

author: hamster_nz
author_rank: Super Contributor
timestamp: August 16, 2017, 05:05:14 am
content: If you lack the gear yourself, I can hook a buzzer up to an Arbitrary Wave Generator and test.It it just standard microcontroller pin levels?

author: ealex
author_rank: Frequent Contributor
timestamp: August 16, 2017, 08:05:18 am
content: if you're driving it with TTL levels you'll have all square-wave harmonics in the output.look here for some frequency response plots and drive ideas :http://www.murata.com/~/media/webrenewal/support/library/catalog/products/sound/p37e.ashxby tying the buzzer between 2 pins you can gen a louder sound from the same speaker - something like full versus half wavemaybe adding a series resistor will make a low-pass filter with the buzzer's capacitance - and cut some of the high frequency content(i might try that on one of my projects as well)

author: nfmax
author_rank: Super Contributor
timestamp: August 16, 2017, 08:16:22 am
content: Don't forget you can also put the output pin into tri-state for part of the cycle. This might let the buzzer ring at its natural resonant frequency for part of the time. Perhaps driving it with a short pulse at a sub harmonic of its resonance and leaving it tri-state the rest of the time will give a better tone. But anything you do will be highly dependent on the actual type of buzzer used (and variation between different buzzers of the same type). Experiment!

author: Rerouter
author_rank: Super Contributor
timestamp: August 16, 2017, 08:19:08 am
content: As a piezo buzzer is mainly capacitive , you can add a series inductor to it to shape the pulse closer to a resonant sine,The balance comes from the role of the buzzer, anything that "warbles" between 2-4Khz is extremely hard for us humans to ignore,If you just want to notify someone, then pure tone "pip"s tend to be the least offensive. around 2Khz,If you want someone to be unable to ignore it, square wave, that varies about 200Hz at 4Khz. (vary the pulse width) about 1 second on, 2 seconds off.
No generate code button - Page 1
Forum section: electronics / general

author: JanJansen
author_rank: Frequent Contributor
timestamp: August 13, 2017, 04:23:50 pm
content: Sorry i need to upload this picture here to use in the microchip site.How you like that : No generate code button in MCC ?

author: rstofer
author_rank: Super Contributor
timestamp: August 13, 2017, 04:30:10 pm
content: I don't think I understand the question, if there is a question...The Hammer icon usually causes a Build in the Eclipse platform. The Hammer with the Wisk Broom probably does a Clean/Build.

author: cv007
author_rank: Frequent Contributor
timestamp: August 13, 2017, 09:24:00 pm
content: QuoteExcept for the one that is labeledGeneratein the upper left corner next toProject Resources. How many do you want?

author: JanJansen
author_rank: Frequent Contributor
timestamp: August 14, 2017, 01:47:06 pm
content: Well that button with generate on it does not generate my code,in the youtube movie there is a generate code button.on exact 5:30 they click the generate code button

author: cv007
author_rank: Frequent Contributor
timestamp: August 14, 2017, 08:10:55 pm
content: That video was published on Aug 7, 2015. Things change in 2 years, including MPLABX/MCC. I'm sure they have a user manual for MCC. It would be quite odd to have a big Generate button that does nothing.I haven't used MCC in a long time, and have it uninstalled so can't help much more. I have a hard time following most Microchip code, including MCC generated code, so I just look at the datasheet and do my own thing.
modern-ish CPLD development software for MACH110, MACH210? - Page 1
Forum section: electronics / general

author: westfw
author_rank: Super Contributor
timestamp: August 09, 2017, 09:42:08 am
content: Does anyone know of any modern-ish (VHDL, Verilog, etc) design software that will work with 1990's vintage CPLDs like the AMD/Lattice MACH110? The only thing I've found so far is ~1993 MACHXL from AMD, which is a DOS program that installs from floppy images (sort of, anyway.) And it's essentially "advanced PALASM."I've got them current and "classic" IDEs from Lattice, but they don't seem to go back as far as MACH1/2 (even though they DO support simple GALs like 22v10. Sigh.) Is there some way to add older chips to these?

author: albert22
author_rank: Regular Contributor
timestamp: August 12, 2017, 03:34:49 am
content: WestfwI am interested too in using some MACH201 that I have. When I was searching for the tools, somebody answered this:QuoteHowever I dont know how to make it work or how to get the configuration programmed into the device.Please let me know if you make any progress.Good luck and regards

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: August 12, 2017, 08:26:29 am
content: "THIS SOFTWARE PACKAGE SUPPORTS ispLSI and pLSI 2032 and 1016 DEVICES ONLY"My obsolete device is not supported by ispLEVER Classic. What should I do?Quote
Programming atmega  - Page 1
Forum section: electronics / general

author: yalect
author_rank: Regular Contributor
timestamp: August 10, 2017, 12:48:04 pm
content: Hi,I would like to ask you what is the difference between programming atmega in C and C++ or generally andcan I replace C with C++?thank you

author: ataradov
author_rank: Super Contributor
timestamp: August 10, 2017, 04:52:58 pm
content: AVR-GCC does not have implementation of the C++ standard template library. Otherwise, you can use C++ if you want to. Arduino does it pretty successfully.

author: sasa
author_rank: Regular Contributor
timestamp: August 10, 2017, 05:22:48 pm
content: The C++ is object oriented language (OOP), C is procedural. With OOP languages is much clearer to work - one object/class with all related data and methods, while in procedural languages that is way more demanding...With C++ compiler, you can use C sources without changes (there are actually some minor issues passing arguments on which should take care about, however that is not quite important for now).
W5500 + ATMEGA example code using ioLibrary ? - Page 1
Forum section: electronics / general

author: David_AVD
author_rank: Super Contributor
timestamp: August 02, 2017, 04:00:52 am
content: I have a prototype board with an ATMEGA328PB and a W5500 Ethernet module on it.Using some very C basic code I have it connecting to my LAN on a static IP address, parsing the URL of a http request and taking some actions.Now I'd like to step up to using more advanced functions such as DHCP, etc.I've looked atioLibrarybut am not sure on how to use it in Atmel Studio 7.Is anyone able to offer some assistance with this?

author: David_AVD
author_rank: Super Contributor
timestamp: August 07, 2017, 12:10:05 am
content: Nobody has used ioLibrary?
[Solved] Blackfin+ exports needed - Page 1
Forum section: electronics / general

author: blueskull
author_rank: Unknown
timestamp: August 07, 2017, 10:13:16 am
content: I'm looking for a quick (efficient) solution for muxing bytes.Basically, what I want is:x=x0 x1 x2 x3 x4 x5 x6 x7y=y0 y1 y2 y3 y4 y5 y6 y7x=x0 x1 x2 x3 x4 x5 x6 x7y=y0 y1 y2 y3 y4 y5 y6 y7Output z=x0 y0 x1 y1 x2 y2 x3 y3 x4 y4 x5 y5 x6 y6 x7 y7 x0 y0 x1 y1 x2 y2 x3 y3 x4 y4 x5 y5 x6 y6 x7 y7Is there a single or very few instructions that can do that? I'm not looking for BitMux or other instructions that need a long loop.Thanks.
PIC18F452 copying/firmware extract ? - Page 1
Forum section: electronics / general

author: Cozzmo
author_rank: Regular Contributor
timestamp: August 04, 2017, 10:16:20 pm
content: Hi all, my GQ-3x programmer hardware version is too old and doesn't support this chip and i've found that i have to return it for the firmware to be upgraded.I'm looking to see if anyone around Sydney (near parramatta preferably) would have a PICKit or some kind of eprom programmer that would be able to see if the chip i have is able to be read or if its protected. Its for a Vending machine. I don't want to modify the firmware, i just want to be able to duplicate it to upgrade other machines with the latest version that has software fixes. Don't really want to drop money on a new reader if the chip turns out to be protected and unable to be read as the GQ-3x does everything else i need it to do right now.Any help would be appreciated.Thanks,Simon.
How to calculate calibration coefficient for PIC18 ADC - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: August 04, 2017, 01:25:46 pm
content: Hello all,I have PIC18.With the ADC of PIC18, I am measuring sensors.Right now, I am doing this without calibration.For doing calibration, I don't have very accurate voltage source to apply full scale voltage and Zero scale voltage.Q1:Is there any other way to do this ?Q2:How should apply calibration coefficients on Sensor readings? suggest formulas..Thanks,Sangar

author: Kalvin
author_rank: Super Contributor
timestamp: August 04, 2017, 02:19:04 pm
content: You do not need an accurate voltage source, but you need a stable voltage source whose voltage you know. Just use a regular multimeter to measure the voltage and use that value as your reference voltage. Probably PIC18 contains some sort of internal reference and you can use that as a reference voltage after you have calibrated that with your multimeter using known voltage.

author: alm
author_rank: Super Contributor
timestamp: August 04, 2017, 02:26:46 pm
content: You could generate two voltages within range of your ADC input. Measure the voltage with your DMM, then with the ADC, and record the results from both. From these point you can find a linear equation that gives you offset and gain (or zero point and full scale point). As Kalvin says, the voltages do not have to be accurate (it could be 1.232 V and 4.129 V for all you care), as long as they are stable for the few minutes it takes to measure them with a DMM and ADC. Batteries could work for this. One AA/AAA battery for 1.something V, and three in series, or a CR2032 3V lithium battery, for approximately 3 V.

author: fourtytwo42
author_rank: Super Contributor
timestamp: August 04, 2017, 02:58:40 pm
content: The first question I would ask is where are you deriving the ADC reference from and what is it's accuracy as this will have a marked effect on calibration.Second question, whats your source impedance.Third question if you are selecting among channels is your acquisition time within specification.
i2c for stm32f103c8t6 arduino ide - Page 1
Forum section: electronics / general

author: dwc5496
author_rank: Newbie
timestamp: August 03, 2017, 06:16:50 pm
content: s

author: martinayotte
author_rank: Regular Contributor
timestamp: August 03, 2017, 07:47:05 pm
content: Take a look at this forum :http://stm32duino.com
Voltage Level Translators for UHS-l SD Cards - Page 1
Forum section: electronics / general

author: gauravmp
author_rank: Regular Contributor
timestamp: July 29, 2017, 11:32:58 pm
content: Hi,I'm trying to work with a UHS-I speed SD card with an FPGA and I was wondering if anyone knew of voltage translators that operate at the high speeds necessary for UHS-I (208MHz) for the translation to 1.8V from 3.3V when the UHS (Ultra High speed) mode is activated.I've looked pretty deep into this and ran into a dead end..Any help would be appreciated.Thanks

author: gauravmp
author_rank: Regular Contributor
timestamp: August 01, 2017, 02:34:59 am
content: Thanks a lot! Its kind of unfortunate but the NXP chips (which are so ideal for my application) are not in stock on DIgikey and need to be purchased in bulk on NXP. Thanks eitherways for the help
Renesas RX65N Compiler / IDE - Page 1
Forum section: electronics / general

author: meriororen
author_rank: Contributor
timestamp: August 01, 2017, 06:00:58 am
content: Hi,I am planning to develop a project based on Renesas RX65N microcontroller with ThreadX RTOS.I had experience with several arm-based microcontroller from several manufacturers, but never with RX microcontrollers,I am setting up development environment but I found the Renesas website very confusing,basically, they have 2(?) separate IDE(s), CS+ (licensed?) and eclipse-based e2studio (free?),is there any limitations when using e2studio compared to CS+?Does anyone have experience on this?Thanks

author: andersm
author_rank: Super Contributor
timestamp: August 01, 2017, 10:18:24 am
content: Renesas themselves are promoting CS+ only in Asian countries, I don't know why. For European and American customers they recommend e2studio. I've used e2studio with RX and RL78 MCUs, and it works about as well as any other Eclipse IDE. We ran into some bugs in their GCC plugin (mostly related to linker scripts IIRC), and RL78 GCC compiler we used had some random crashes. If you like Eclipse you'll like e2studio, if you don't you won't.

author: funkathustra
author_rank: Regular Contributor
timestamp: August 01, 2017, 06:06:56 pm
content: e2 studio, their free Eclipse-based IDE, is great. It will work either with the free GCC compiler, or withCC-RX, which is the proprietary commercial compiler. I've never worked with the RX line specifically, but for the RL78 platform, CC-RL is far superior to the GCC RL78 compiler. I don't know what these compilers cost, but after 60 days, it goes into a code-size-limit mode. I believe the limit is 128 KB, which is way more than any of the parts I've ever used are capable of, so I probably won't be buying a compiler license any time soon.

author: meriororen
author_rank: Contributor
timestamp: August 03, 2017, 03:37:44 am
content: Thanks for all the suggestions!I think I am gonna go with e2studio.However, the threadx source I am supplied with is in Cubesuite+ .mtpj project format. It does not have Makefile in it.Looking for a way to convert this to Makefile.
Eclipse Neon and EmbSysRegView - Page 1
Forum section: electronics / general

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: July 06, 2016, 06:19:45 pm
content: Have any of you Eclipse users gotten EmbSysRegView to work with Eclipse Neon? It fails to install on my Neon installation and there's nothing on the EmbSysRegView web site about a Neon-compatible version.

author: janoc
author_rank: Super Contributor
timestamp: July 06, 2016, 08:25:51 pm
content: You probably need to wait a bit more - Neon was released not even two weeks ago. So it is not surprising that all extensions were not updated yet.

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: July 07, 2016, 03:14:23 am
content: In case anyone's interested, here's a discussion of why EmbSysRegView doesn't work in Eclipse Neon:https://sourceforge.net/p/embsysregview/bugs/20/

author: AlfBaz
author_rank: Super Contributor
timestamp: July 07, 2016, 03:25:38 am
content: Bugger!It's one of those tools that isn't used much but when you need it, you really need it

author: Brutte
author_rank: Frequent Contributor
timestamp: July 07, 2016, 12:55:04 pm
content: It is one of the more useful plug-ins.I use it with Cortexes and AVRs.You could try GNU ARM Eclipse - it also does same IO tricks via Packs, quite possible it already supports Neon (not tested).

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: September 21, 2016, 02:47:59 am
content: Found this thread after moving to Neon.I have the GNU ARM Eclipse plugin but apparently need to install the device packs?

author: AlfBaz
author_rank: Super Contributor
timestamp: July 31, 2017, 12:54:05 am
content: Yayhttps://mcuoneclipse.com/2017/07/26/embsysregview-0-2-6-for-eclipse-neon-and-oxygen/

author: HackedFridgeMagnet
author_rank: Super Contributor
timestamp: July 31, 2017, 01:09:49 am
content: thanks for the heads up
MSP432 Problem with Timer Interrupt - Page 1
Forum section: electronics / general

author: WesPiard
author_rank: Newbie
timestamp: July 29, 2017, 02:59:26 am
content: Hello everyone!I just started working with the MSP432P401R launchpad. My goal for now is to sample audio at 44.1kHz and then re-output it through a DAC to an amplifier with an 8-ohm speaker on the output.I have the ADC working fine, but I'm having trouble with my sampling timer. I'm running the chip at 48 MHz in VCORE1 active mode. Here is my timer initialization code as well as the interrupt function:Code:void TA0_0_IRQHandler(void){P2->OUT ^= BIT7;}void TIMER_init(){TIMER_A0->CCTL=TIMER_A_CCTLN_CCIE;//Enable CC interruptTIMER_A0->CTL=TIMER_A_CTL_TASSEL_2|//Select SMCLK as source for timerTIMER_A_CTL_ID_3|//Divide clock by 8 (this yields 6 MHz for the timer clock)TIMER_A_CTL_MC_1|//Up modeTIMER_A_CTL_CLR;//Clear timer countTIMER_A0->CCR=136;// 6 MHz / 44.1 kHz = 136}Fore testing purposes, my interrupt function just toggles a GPIO pin so I can analyze it with my oscope. Here's a picture of what the output of the pin looks like:http://imgur.com/a/VJBmMWith the current settings, the pin is being toggled every 744ns. It seems like the interrupt function is just being ran constantly, because when I put a breakpoint in my while(1) loop in my main function, it never hits. But when I put a breakpoint in my timer interrupt function, it always hits.Are there flags I HAVE to clear or something? It would make sense that the ISR keeps getting triggered if I'm never servicing/clearing the flag. I'm just not sure what to do.

author: Monkeh
author_rank: Super Contributor
timestamp: July 29, 2017, 03:58:51 am
content: Have you considered simply trying clearing CCIFG?

author: Cervisia
author_rank: Regular Contributor
timestamp: July 29, 2017, 12:34:08 pm
content: For the interrupts that share an interrupt vector (TAIFG, and CCIFG for all CCRs except CCR0), the interrupt flag gets reset when you read the TAxIV register.But CCR0 CCIFG has a separate interrupt vector for this single source, which implies that the hardware knows when the interrupt is handled. So the MSP430clears the interrupt flag automatically.But the MSP432does not. Because what's the fun of having a faster CPU when you don't use it?

author: WesPiard
author_rank: Newbie
timestamp: July 29, 2017, 02:50:35 pm
content: Thank you guys, this was my problem. I just assumed since it was the dedicated interrupt for CCR0, the flag would be cleared automatically. Silly me..
Anyone using the NXP-Link 2? - Page 1
Forum section: electronics / general

author: pmurray4
author_rank: Contributor
timestamp: July 27, 2017, 10:51:05 pm
content: It's been a while since I've partaken on the forum, it's been almost 2 years unfortunately.I recently decided to revisit the ARM PRO MINI that Zapta had sent me, many thanks again Zapta, I feel that I have not thanked you properly for sending it.I got the graphical LCD demo to work with some changes and have purchased a NXP-Link 2 debugger, but I cannot seem to get it to work with the ARM Pro Mini. I'm using the latest LPCxpresso software and I've tried following all the instructions from the NXP website, they appear to have changed the way the tool works and I cannot seem to get it to work. I really would like to step through code and view registers at runtime, even just the ability to download code to it without having to put it in mass storage mode would be beneficial for experimentation.Anyone else having the same difficulties?

author: alm
author_rank: Super Contributor
timestamp: July 27, 2017, 11:17:30 pm
content: Do you mean LPC-Link 2 instead of NXP-Link 2?Can you be more specific than 'cannot seem to get it to work'? What did you try? What was the result? What did you expect? What error messages or other information did you receive?Does the operating system (e.g. Windows) detect the LPC-Link? Does MCUXpresso detect the LPC-Link? Does MCUXpresso detect the target? Are you sure the connection between the LPC-Link and the target is correct? How is the target powered?Is the LPC-Link loaded with the CMSIS-DAP firmware or JLink firmware? Try downloading theconfiguration tool from NXPand reloading the CMSIS-DAP firmware.

author: pmurray4
author_rank: Contributor
timestamp: July 28, 2017, 04:37:21 am
content: My apologies, I should have been more detailed.From what I can see, the device loads the CMSIS-DAP firmware when you tell LPCXpresso,I have it hooked up to the ARM Pro Mini and the Link-2 is powering it too, there is an LED flasher running on it so I know it's powered up correctly, but when I tell LPCXpresso to debug, a window pops up with "Connect to emulator: NXP LPC11xx" and it tells me there is no compatible emulators available.I've got LPCscrypt installed and I have tried using the batch files to install CMSIS-DAP and J-Link but they don't seem to make a difference from I can tell.As I'm unfamiliar with this system so I cannot determine if it's the debugger that isn't working as I expect or the ARM Pro Mini isn't connecting correctly.From what I have read about this LPC-Link 2, is that it should be ready right out of the box to work with LPCXpresso.

author: ehughes
author_rank: Frequent Contributor
timestamp: July 29, 2017, 12:40:58 pm
content: It works out of the box with MCU Xpresso for meAlso, my new workflow is to program the LPC-Link as a J-Link and you Segger's Ozone debugger. It is pretty slick. You can monitor/graph variables, etc in real time without pausing.
Lattice programmer HW-USBN MachXO2 - Page 1
Forum section: electronics / general

author: amurrayf88
author_rank: Newbie
timestamp: July 26, 2017, 02:19:20 pm
content: Dear all,I have been trying to program a MachXO2-1200ZE 100QFP FPGA using a chinese clone Lattice programmer bought in ebay (http://www.ebay.co.uk/itm/251686578853), but there must be something connected incorrectly and I haven't been able to do so.I get the following error in Diamond Programmer:INFO - Lattice HW-USBN-2A cable detected.INFO - No Board with FTDI USB Host Chip detected.INFO - Detected HW-USBN-2A cable at port EzUSB-0.Starting: "pgr_program run"INFO - Check configuration setup: Start.Device#1 LCMXO2-1200ZE: Failed to verify the ID(Expected: 0x012B2043 Read: 0x00000000).ERROR - Check configuration setup: Unsuccessful.ERROR: pgr_program failed.ERROR - Programming failed.For what I have read in different Lattice documents (datasheet, Programming and Configuration Usage Guide, Programming Cable Users Guide), I should connect the target board and the programmer in the following way:Target board (MachXO2-1200ZE)VCC = 1.2 V, current limit 20 mAVCCIO = 2.5 V (all VCCIO pins of Banks 0-3 are connected to 2.5 V)Programmer:VCC = 1.2 V.Prog, Init and TRST disconnected.Programmer has status light in green.Ports TDI, TDO, TMS and TCK are connected between the target board and the programmer. There is a pull-down resistor (4.7 k) in TCK, and a 500 ohm resistor between VCC and GND (I work with a low power FPGA).The target board is also un-powered when connecting the programmer.Does anybody has a clue on where am I wrong? Is there something missing in the connections?

author: joshtyler
author_rank: Contributor
timestamp: July 26, 2017, 07:39:19 pm
content: I'm not familiar with programming this particular FGPA family/ this particular prorgrammer.But since you're using a VCCIO of 2.5V, surely the programmer needs the VCC pin held at 2.5V?
I'm rolling out my new Basic VHDL Tutorials series - Page 1
Forum section: electronics / general

author: VHDLwhiz
author_rank: Newbie
timestamp: July 25, 2017, 02:13:09 pm
content: Hey guys!I just launched my new VHDL blog,https://vhdlwhiz.com/.I've always felt that the FPGA and VHDL community has a tendency to overly complicate things. Of course, if you're selling a service or an academic paper or something, you want to give the impression that you know stuff. But when it comes to learning, focusing on all the nitty gritty details kind of gets in your way.Most people learn VHDL in a bottom-up kind of way. At Uni you first spend a year learning about the transistor, then a year learning about logic gates. And finally, you get to learn to create logic using VHDL or Verilog. This is how I learned VHDL. But if you're anything like me, you don't have the patience for this!That's why I'm kicking off my blog by launching a top-down Basic VHDL Tutorials series.Check out the free VHDL course:https://vhdlwhiz.com/basic-vhdl-tutorials/Don't work harder than you have to!

author: alexanderbrevig
author_rank: Frequent Contributor
timestamp: July 25, 2017, 02:22:08 pm
content: Velkommen!I subscribed to you channel. Never gotten around to do anything useful, but I know the need will arise so I'm mostly just lurking to keep my feel up to date.Do you plan to use a specific toolchain at some point? Altera, Xilinx?

author: VHDLwhiz
author_rank: Newbie
timestamp: July 25, 2017, 03:04:17 pm
content: Thank you! I'm mostly familiar with Xilinx, but I'm planning to use the Lattice ICEstick evaluation kit for future tutorials. Simply because it's very low-cost easy to work with. The Basic VHDL Tutorials series will be purely in the simulator.

author: MattSR
author_rank: Regular Contributor
timestamp: July 26, 2017, 08:01:21 am
content: Nice one! I will check these out for sure

author: legacy
author_rank: Super Contributor
timestamp: July 26, 2017, 10:44:50 am
content: I was thinking about you today: I was implementing a LUT-like circuit ... when ... ops, I realized I had forget how to properly use "code-generate"it was"looking for a mind-refresh tutorial" time

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: July 26, 2017, 01:38:32 pm
content: That's cool, keep it all the good work
ARM programming on QEMU failed - Page 1
Forum section: electronics / general

author: mlugo2
author_rank: Contributor
timestamp: July 22, 2017, 06:48:49 pm
content: Hello I working through some examples from the bookEmbedded and Real-Time Operating Systemsby K.C. Wang. I can assemble the program but when I try to run the binary executable file on QEMU I get this error:Code:QEMU 2.5.0 monitor - type 'help' for more information(qemu) pulseaudio: set_sink_input_volume() failedpulseaudio: Reason: Invalid argumentpulseaudio: set_sink_input_mute() failedpulseaudio: Reason: Invalid argumentAm I missing some arguments or is something wrong with my linking script?Here are the examples he gives to setup and run a simple program:Arm ToolchainCode:sudo apt-get install gcc-arm-none-eabiCode:sudo apt-get install qemu-system-armProgramming Example 1: ts.sCode:.text.global startstart:mov r0, #1@ r0 = 1mov r1, #2@ r1 = 2add r1, r1, r0 @ r1 = r1 + r0ldr r2, =result @ r2 = &resultstr r1, @ result = r1stop:bstop.dataresult:.word0Linker script file: t.ldCode:ENTRY(start)/* Define start as the entry address */SECTIONS/* program sections */{. = 0x10000;/* loading address, required by QEMU */.text : { *(.text) }/* all text in .text section */.data : { *(.data) }/* all data in .data section */.bss : { *(.bss) }/* all bss in .bss section */. =ALIGN(8);. =. + 0x1000;/* 4 KB stack space */stack_top =.;/* stack_top is a symbol exported by linker */}mk script file: mk.shCode:#!/bin/basharm-none-eabi-as -o ts.o ts.s# assemble ts.s to ts.oarm-none-eabi-ld -T t.ld -o t.elf ts.o # link ts.o to t.elf filearm-none-eabi-nm t.elf # show symbols in t.eflarm-none-eabi-objcopy -O binary t.elf t.bin# objcopy t.elf to t.binHow to execute:Code:qemu-system-arm -M versatilepb -kernel t.bin -nographic -serial /dev/null

author: abraxa
author_rank: Frequent Contributor
timestamp: July 22, 2017, 08:12:58 pm
content: How do you conclude that it didn't work? pulseaudio is an audio backend and is used by QEMU for audio output if needed. It has no relevance to what you're doing and the messages can be ignored - though they would annoy me, no doubt.

author: mlugo2
author_rank: Contributor
timestamp: July 22, 2017, 08:53:05 pm
content: Yeah I didn't realize I could press enter and continueThanks!
[bitcloud] - Router device joins the network, then leaves - Page 1
Forum section: electronics / general

author: gouroufui
author_rank: Contributor
timestamp: June 19, 2017, 12:01:24 pm
content: Hi,I have a coordinator and 7 routers all connected on the same network.I have 4 more router devices to connect.I am able to connect them, but after few seconds, they leave the network (not sure yet if they leave on their own or if they are kicked out).To make a test, I reset everything (coordinator and routers to factory defaults).I associated routers to the network again, this time by trying to make the one that left the network to join first.They joined without any issue.Eventually, I ended up with 1 coordinator and 7 routers connected.When I tried to connect my 8th router device to the network, I saw it join, then leave the network.It seems there is some sort of configuration that prevents me from adding more than 7 routers to my network.Any idea why?What parameters should I tweak to fix the issue?I wish to be able to add up to 19 routers to my network.

author: gouroufui
author_rank: Contributor
timestamp: June 19, 2017, 02:02:13 pm
content: Could it be an APS_REMOVE_DEVICE command?If so, what could be the cause of it?Why would the Trust Center send such a command?

author: ataradov
author_rank: Super Contributor
timestamp: June 19, 2017, 04:29:09 pm
content: What is your security type and configuration? Most likely those devices fail to get a network key. It would be helpful to see sniffer logs.And do they actually join, as in start network callback is called with a successful status?

author: gouroufui
author_rank: Contributor
timestamp: July 24, 2017, 05:44:56 pm
content: I finally traced down the issue to the CS_APS_KEY_PAIR_DESCRIPTORS_AMOUNT define that was not big enough.Case closed
Do you recognise this logo on a 16-pin SOIC microcontroller? - Page 1
Forum section: electronics / general

author: johm
author_rank: Contributor
timestamp: June 29, 2017, 12:19:08 am
content: I have what seems to be a microntroller with this logo:Do you know which manufacturer it is?For the record, it's a 16 pin SOIC with VDD on pin 14 and VSS on pin 13. The SMD markings are GV8P1213 1518 SZS25129.1

author: amyk
author_rank: Super Contributor
timestamp: June 29, 2017, 01:05:56 am
content: http://www.globevia.com/en/index.asp...which leads to...http://www.chipsvia.com/en/index.asp...and...http://www.fabthink.com/en/company.asp...which reminds me of...http://www.corechip-sz.com/enindex.asp(look at their product pages --- they make clones of other well-known ICs under the "Supereal" brand)I'm not sure you could get more info from them either, but you could certainly try...

author: anovickis
author_rank: Contributor
timestamp: July 17, 2017, 10:13:11 pm
content: https://www.amobbs.com/thread-5676800-1-1.html

author: schmitt trigger
author_rank: Super Contributor
timestamp: July 24, 2017, 12:45:19 am
content: General Instrument most likely.Before it was spun off from the corporation and became Microchip.As a corporation GI, where I worked for 9 years, would change the corporate logo like changing underwear.Sorry, I just read that it is a SOIC. GI never produced any SOICs.
WTB:   MSP-FET  programmer for MSP430 devices - Page 1
Forum section: electronics / general

author: smoothVTer
author_rank: Regular Contributor
timestamp: July 09, 2017, 06:52:11 pm
content: I want to buy a new or a second-hand MSP-FET programmer for TI's MSP430 MCU's. I cannot locate any stock from any distributors here in the USA, which is a bit surprising.So, I am trying on here in case anyone has an MSP-FET they either have as a spare or don't require the use of any more.

author: ElektroQuark
author_rank: Unknown
timestamp: July 10, 2017, 07:00:42 am
content: Why not buy directly from TI?https://store.ti.com/msp-fet.aspx

author: Fred27
author_rank: Unknown
timestamp: July 10, 2017, 11:06:30 am
content: I'm in the UK and have a spare MSP-FET430UIF (earlier version of the MSP-FET) if that's any use to you.

author: smoothVTer
author_rank: Regular Contributor
timestamp: July 10, 2017, 02:25:12 pm
content: Quote from: EdoNork on July 10, 2017, 07:00:42 amIf you put the new MSP-FET into your cart on TI's Shop, you'll see there is zero stock available on there as well. I just called Digikey and the AE told me he is also surprised there aren't any of these new programmers/debuggers anywhere.I'm wondering if this points to a systemic problem with the newer MSP-FET, and TI just decided to scrap it and wait until the next version. Would be interesting as an electronics-sleuthing endeavor to figure out why...

author: smoothVTer
author_rank: Regular Contributor
timestamp: July 11, 2017, 02:34:00 am
content: Ok, mystery solved: MSP-FET is undergoing a revision to comply with EU regulations. Probably for lead-free stuff. Meh. Okay, I'll wait.Thanks anyway, everyone.

author: Connoiseur
author_rank: Regular Contributor
timestamp: July 11, 2017, 05:50:56 am
content: Quote from: blueskull on July 11, 2017, 02:42:38 amCan it be used to program 4 wire JTAG devices like MSP430F249 or only Spy-bi-wire ones? I have 'arrangements' for programming over SBW but not for JTAG. JTAG programmer is quite expensive as well ($150-ish). I might buy the dev board it if it works.

author: rsjsouza
author_rank: Super Contributor
timestamp: July 18, 2017, 01:51:07 pm
content: I saw it today and it seems you can order it.
Lattice Semi: Write only tech support? - Page 1
Forum section: electronics / general

author: mubes
author_rank: Regular Contributor
timestamp: June 08, 2017, 11:25:23 pm
content: A year or so back I tried to get the Dev suite for the iCE40 running but had troubles getting a licence file configured. I mailed the company but didn't hear back and it fell off the radar.I decided to have another punt, with similar licence troubles. I've emailed to lic_admn@latticesemi.com a couple of times now and haven't heard anything back...can anyone suggest a better route in...or suggest what I might have done to make them ignore me? I'll probably end up using the icestorm tools anyway (it's a fun project, not a work one), but that doesn't make the chips cheaper so it would be nice to at least get an answer from their support folks....Thanks for any help ....Dave

author: MK14
author_rank: Super Contributor
timestamp: June 09, 2017, 12:07:43 am
content: I did this for a lower end FPGA board of theirs.It was for the free version (Diamond 3.9 64 bit), which they seem to insist is LOCKED to my Ethernet's id number (MAC address), so I used the automated thing (on their website and by supplying my MAC address) to get the licence file emailed to me, put it in the right place, and it seems to be working fine now.Having to first register on their website was also a nuisance, which had warnings that filling it out wrong in some place(s) would mess things up. But fortunately I seemed to do it correctly.I've NOT needed to contact their support (yet).

author: Unknown
author_rank: Unknown
timestamp: June 09, 2017, 08:25:05 am
content: See:https://www.eevblog.com/forum/microcontrollers/how-am-i-supposed-to-get-lattice-diamond/I had luck with webmaster@

author: mubes
author_rank: Regular Contributor
timestamp: June 09, 2017, 06:54:04 pm
content: I have no problem with registering, or them getting a MAC address, but the stuff needs to work thereafter....or at least support me when it doesn't. Why do refined sand sellers make getting software and firmware so difficult? It just makes it less likely we'll be buying _their_ refined sand...

author: anovickis
author_rank: Contributor
timestamp: July 17, 2017, 11:30:02 pm
content: find the FAE for your area, and have them visit you or call themsmall projects tend to grow up and sell parts