is there any programmer circuit for TMP87CH46(from TOSHIBA corp) microcontroller? - microcontroller

I have a microcontroller from TOSHIBA corporation. Its part number is TMP87CH46NG. is there any programmer circuit based on USB or LPT port(preferably USB) to program this type of microcontroller through PC?
if there is not, please introduce a programmer that supports this microcontroller to buy.
thanks in advance

Related

Atmel ICE C initial connection problems

I have ATMEL ICE C initial connection problems - it cannot read device signature, because of the target board voltage isn't between range of 1.8 to 5.5V. It has measured by the Atmel Studio as 1.3V (when target board is powered by the USB connector) or 0.3V (when USB disconnected from target).
It'a a brand new device, and i never used it before, may be i did something wrong?
I had used before AVR ISP handmade by myself, and had used previously programmed target board for this experiment, to avoid possibility, that board is dead. The target is works and blinking heart beat.
What i has done -
1.Connect the target board to the ICE programmer.
2.power target board by USB.
3.power programmer by USB from PC USB port.
4.open "device programming" tab in AS 7.
5.Make all settings for my chip atmega328p
6.press "apply" then 'read'
7.get err msg that voltage is too low.
(while i had measured it directly, by the digital voltmeter on pins +5V and GND on target
board, it's about 4.5V, same as in ISP connector - measured on 2 and
6 pins.)
=======================================================
#markus-nm where did you take your measurements?
i had measured on pin 2 and 6 of ISP connector and between pin +5V and GND on Arduino Nano board.
What reference was used?
i had used GND pin on target board for the reference.
Did you use the same USB Host for ISP and power?
no, power to target board was from the wall socket USB charger, AND power to Atmel ICE is from personal computer.
If not, did you connect the grounds?
no, but i guess that grounds are already connected on the target board.
Some links to your chip, your board and ISP would be helpful.
ATMEL-ICE-C https://www.microchip.com/en-us/development-tool/ATATMEL-ICE
ARDUINO NANO PRO https://store.arduino.cc/products/arduino-nano
If it's a custom PCB, provide some schematics. Show a wiring diagram of what you did.
no, i had used the standard Nano board (may be not original, but clone, but it is definitely working now, because it can be programmed by the AVRDUDE program and work.)
The Atmel-ICE, by design, has a lot of different ways to hook up the programming connector. Often when I see problems like this it's because the wrong connector is used. Keep in mind the programmer itself has both an AVR and a SAM port. For the Arduino Nano Pro, make sure it's plugged into the AVR port. After that, ensure you're using the correct programming connector on the adapter board that comes with the Atmel-ICE and that it's oriented correctly on the Nano's header.
If that all fails then something is broken.

Is programming Arduino means adding firmware?

Unlike Raspberry pi, Arduino doesn't use an OS to run the user code. Which makes me wonder if programming Arduino means programming firmware for the board, because by definition firmware is "what functionalizes a system", so when we program Arduino we are creating a custom device. Be it turning led on and off while pushing a button or blinking or Marlin firmware for Arduino based 3d printers etc.
So my question is: does programming Arduino mean programming the board's firmware and are all Arduino sketches essentially firmware?
By definition, firmware means the permanent software programmed into a read-only memory. So, two categories of firmware are used in Arduino: I) Bootloader II) User's Customize firmware.
Just like we flash to install/update EEPROM firmware of a bios in the PC, we flash the Arduino bootloader in a chip. The Arduino board can be configured as a joystick, for example, by flashing Unojoy firmware.
On the microcontroller (Atmega328) chip, customized firmware (in HEX) is burned on the flash memory. Arduino IDE allows ease of programming the firmware at higher level programming and conversion to hex for loading to the microcontroller.
I would define firmware as a software of a product.
In case of Arduino boards is then the firmware the bootloader and the firmware in the USB chip. But the main application is for you to play and upload sketches which are not firmware.
If you create software for a product based on Arduino board like a 3D printer, a networking co-controller, a special HID device, then your software loaded to the MCU of this device is a firmware.

Serial programming issue after using ISP

I've been using the avr-mkII programmer to program the arduino through ISP for the past month. Recently I noticed that ever since doing that I lost the ability to program the arduino through the USB port - Serial 0. Does anyone have a clue as to how to reset the boards back to normal? I tried this with a few different boards and it is all the same. The New boards that haven't been programmed through the ISP act normally. I basically have lost the ability to communicate with the usb programmer chip. Has anyone experienced this before? Would I need to program the usb communication chip through it's ISP pins? Here the typical generic response that I get when I try to program them.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Thanks in advance.
Selecting the correct board and programmer in the IDE and then choosing the option "Burn Bootloader" will upload the stock bootloader and set the fuses appropriately on the main MCU.

How can you detect that an arduino is plugged into a computer?

Is it possible, on the arduino side, to detect that it's plugged into a computer? I've been looking around but no luck. If so how? and if not why?
You cannot detect if a 2009, Uno, etc. is connected since the USB-to-serial chip does not give any indication of such. On the Leonardo, Due, and other boards with USB-capable MCUs you can query the USB registers to see if it is connected to a USB host. You may be able to reprogram the ATmega16U2 on the Uno R3 to tell you, but you may end up losing the ability to program the Uno R3 via USB if done incorrectly.

Programming ATMega328 (using Arduino) to program other ATMega328s?

I've started working with IC chips and I've found some ATMega328 chips that I bought a while ago, I was then considering buying a very cheap Arduino and bootloading the chips with the Arduino IDE and operating software.
My main question being is it possible for me to program one chip with an ATMega328 with an Arduino as an ATMega328 programmer to bootload and program further IC chips?
Also I was thinking, as the ATTiny85 chip is very similar to the ATMega328, could I essentially use the same system (maybe using one of those IC tester board sockets) to program this chip and any others (if so, please specify if possible)?
Thanks in advance for all answers,
Rish.
There are many tutorials on how to do this.

Resources