EmbeddedRelated.com
Memfault Beyond the Launch

microcontroller to microcontroller one as slave & other as master using I2C

Started by Anonymous in comp.arch.embedded17 years ago

Hi, I am learning to use I2C protocol and currently stuck with alternative solution. These are the details regarding what i am...

Hi, I am learning to use I2C protocol and currently stuck with alternative solution. These are the details regarding what i am doing: 1) Using PIC 18F4580 AS master and PIC 18F4550 as slave. 2) I receive acknowledgments when i am debugging on the master side. 3) on the client side i do not receive any data from the master . 4) here by giving the code of master: #include


Testing and static analysis for concurrency errors

Started by Anonymous in comp.arch.embedded17 years ago 8 replies

Dear all, I am an academic researcher interested of late in testing, debugging and static analysis of concurrent software. Two of the...

Dear all, I am an academic researcher interested of late in testing, debugging and static analysis of concurrent software. Two of the directions I am interested in are: (1) developing static techniques to prove that a certain piece of software is free of, say, deadlocks and data races, and (2) developing better testing tools for concurrent code, e.g, understanding what the right coverage c...


Debugging by bsing SW interrupts instead of HW interrupts

Started by Anonymous in comp.arch.embedded19 years ago 4 replies

My problem is to test my driver software ,but the asic chip is not ready yet.I can simulate the registers of the asic easyly,but the HW...

My problem is to test my driver software ,but the asic chip is not ready yet.I can simulate the registers of the asic easyly,but the HW interrupts which will be generated by asic chip is necessary to test my interrupt handler and interrupt driven SW. For X86 processor I know that also SW interrupt generation is possible but how? How should I write interrupt handler for a SW interrupt? Does...


How to see printf() or Putchar() output in HEW simulator

Started by emcodec in comp.arch.embedded10 years ago

Just created a project as type "application" and added a printf() call in main(). Executed this code in "M16C R8C Simulator" as Target. I...

Just created a project as type "application" and added a printf() call in main(). Executed this code in "M16C R8C Simulator" as Target. I referred M16C Compiler Guide chapter "6.4 Using printf for Debugging" and followed the steps to print the output in [View -> CPU -> Output Port]. The settings are same as mentioned in the guide but there is not output seen in output port window? I tried us


OpenSTM32 (Eclipse) debugger trying to write RAM section

Started by John Speth in comp.arch.embedded6 years ago

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000?...

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000? when I flash my STM32 target using System Workbench. The debugger then fails the binary compare process and prevents me from debugging. My linker script defines a memory region called DTCM which is mapped to RAM starting at 0x20000000 for 64K b


I am having a nightmarish time with AVR Studio and JTAGICE mkII

Started by Mostafa Kassem in comp.arch.embedded19 years ago 4 replies

Greetings: I am helping a friend with a small battery charger project. I chose the Atmega88 for this project because it has a good mix of...

Greetings: I am helping a friend with a small battery charger project. I chose the Atmega88 for this project because it has a good mix of peripherals, memory size and physical size. I am using Winavr 4.11 to develop the code (which I found to be very easy to use) and a combination of AVR Studio, STK500 and JTAGICE mkII for debugging. I am having a hell of time getting AVR Studio to...


USB device question

Started by Bin Chen in comp.arch.embedded16 years ago 3 replies

Hi, I am debugging s3c2410's usb device driver for linux, I have connect the VCC, GND, D+, D- and the usb device end can detect the...

Hi, I am debugging s3c2410's usb device driver for linux, I have connect the VCC, GND, D+, D- and the usb device end can detect the insert/plug of usb cable. I installed a IRQ handler for the usb device and it can recieve some interrupt of reset when I insert the USB to host. But after the reset, no further interrupt happen. Even in the host side there are nothing displayed. I want to kn...


kmem_cache_alloc_one_tail BUG

Started by Bill in comp.arch.embedded19 years ago 1 reply

I am porting my Linux 2.4 code from an evaluation board with an MPC8275 processor and 8 Mbytes of flash, consisting of four...

I am porting my Linux 2.4 code from an evaluation board with an MPC8275 processor and 8 Mbytes of flash, consisting of four Sharp LH28F016SCT-L95 flash chips, to a custom board with an MPC8270 processor and 8 Mbytes of flash, consisting of two Intel 28F320C3 flash chips. The custom board is crashing when mounting the JFFS2 filesystem. Specifically, with debugging on, in kmem_cache_alloc_on...


FS: Atmel In Circuit Emulator

Started by Anonymous in comp.arch.embedded17 years ago 2 replies

I've recently posted this item to ebay: The ATAVRICE is a real time In-Circuit Emulator (ICE) for AT90S1200, -S2313, -S4414, -S8515...

I've recently posted this item to ebay: The ATAVRICE is a real time In-Circuit Emulator (ICE) for AT90S1200, -S2313, -S4414, -S8515 microprocessors. It is upgradeable to support other AVR parts ith memory less than or equal to 8k. It is compatible with AVR Studio, a front-end for high-level and assembly level debugging. Includes: ICE unit, Pod card AT90STDPOD, AT90S1200/-2313 probe (DIL2...


debugging msp430

Started by Juergen in comp.arch.embedded18 years ago 1 reply

Hi, I try to debug function parameters inside a function. I am going nuts doing this. I don't know why I didn't notice problems before, but...

Hi, I try to debug function parameters inside a function. I am going nuts doing this. I don't know why I didn't notice problems before, but this is what I do. I have a function call myresult_t DoSomething(portSHORT command, portSHORT* status); I call this with portSHORT command = 0x0000; portSHORT status = 0xCCCC; (with portSHORT being 16bit wide) DoSomething(command, &status); ...


PC pointing to SFR after Watchdog

Started by hendrik in comp.arch.embedded18 years ago 4 replies

Hi All, I am working on a Renesas M16C Micro and I am having problems debugging my code.... I get a watchdog at a certain point in my code....

Hi All, I am working on a Renesas M16C Micro and I am having problems debugging my code.... I get a watchdog at a certain point in my code. I am unable to figure out where the watchdog occurs because the program counter points to special function register 0x000343. Is it possible that the program counter can ever point to a special function register? I thought it should always point t...


Debugging data bus access problem after addition of peripheral

Started by Anonymous in comp.arch.embedded15 years ago

Hello, I have added a TFT controller peripheral to an already working Microblaze system with minimal implemented functionality. Now, I cannot...

Hello, I have added a TFT controller peripheral to an already working Microblaze system with minimal implemented functionality. Now, I cannot access the data bus. Please see the error print out by XMD below. The new peripheral is connected via DCR bus for register access (slave DCR). There is a PLB2DCR bridge. It is also connected to PLB bus via its master PLB ports. Do you have any ...


Delay in tranmission of packets wrt USB driver for large packets

Started by Sandeeptssmg in comp.arch.embedded14 years ago

Hi, am currently porting USB drivers for OMAP34XX series USB OTG controller. The USB OTG controller is configured to operate in peripheral mode...

Hi, am currently porting USB drivers for OMAP34XX series USB OTG controller. The USB OTG controller is configured to operate in peripheral mode which is using GADGET USB stack. Ping fails with "request timed out" for large packets. Am lost debugging this issue. If any pointers / suggestions are highly appreciated. Problem description: -------------------- ping AAA.BBB.CC.DD -t -l 20000 fai...


DSCR register in 68332, sync. stop/start of CPU and TPU

Started by Anonymous in comp.arch.embedded17 years ago

Has anyone here had success doing this? When debugging interface between code running in the TPU (Time Processing Unit), and code running...

Has anyone here had success doing this? When debugging interface between code running in the TPU (Time Processing Unit), and code running on the "68k" CPU, it would be nice that both stop and start syncroneously. According to the manual, this register contains 2 bits controlling freeze of the TPU. So, as I understand it, if I write e.g. 0x180 to DSCR the TPU should stop too, if the C...


EZUSB-FX2 board bring-up - dead clock - solution

Started by Anonymous in comp.arch.embedded15 years ago

I just finished debugging a FX2 board design and thought I would proactively post the solution to a problem that may bite other people. The...

I just finished debugging a FX2 board design and thought I would proactively post the solution to a problem that may bite other people. The FX2 has a pin called "reserved". The board designer left it floating instead of grounding it as per the FX2 design doc. Since it's called "reserved", it was easy to miss in design reviews - the name implies it should be left open. The error prevente...


Debugging memory writing

Started by Bhavik in comp.arch.embedded16 years ago 4 replies

Hi, I am trying to debug an embedded application, in which I have a pool of memory which is divided in fixed size blocks. In each block,...

Hi, I am trying to debug an embedded application, in which I have a pool of memory which is divided in fixed size blocks. In each block, there is a fixed size header and then some data. So all blocks are located linearly inside the pool. No my problem is that some other application writes its data in the header of next block, so my next block becomes invalid. And because of that when ...


ARM 32 bit single board computer recommendations? Need Flash, ethernet A/D and D/A

Started by fred in comp.arch.embedded15 years ago 2 replies

Hi All, I have a project coming up where I need to do some datalogging, calculations and control output. I need a board that has: Pref....

Hi All, I have a project coming up where I need to do some datalogging, calculations and control output. I need a board that has: Pref. ARM 32 bit CPU Flash memory, pref. using SD card Ethernet RS-485 At least 4 A/D channels 2 D/A channels At least 4 digital I/O channel Onboard counter to read upto 300Hz RPM signal Supports an RTOS Supports source level debugging Pref. supports G...


Disassembling/Debugging the PC's BIOS?

Started by Anonymous in comp.arch.embedded18 years ago 9 replies

I have a normal pc desktop machine with a msi k8t neo-v motherboard which utilizes an AMI BIOS. I have a pci video card in an expansion slot. On...

I have a normal pc desktop machine with a msi k8t neo-v motherboard which utilizes an AMI BIOS. I have a pci video card in an expansion slot. On bootup POST, the BIOS complains about a routing table error on device 0:05:00 which pionts to my video card (the only PCI device in an expansion slot). This motherboard does not have onboard video so I need this video card in order to see anything (a...


High speed ARM debugger & programmer

Started by Chris Stephens in comp.arch.embedded18 years ago 1 reply

Computer Solutions is now supplying the Embest range of ARM Development tools. These include UNetICE, a low-cost, high-speed JTAG emulator for...

Computer Solutions is now supplying the Embest range of ARM Development tools. These include UNetICE, a low-cost, high-speed JTAG emulator for ARM processors, Debugging and Flash programming software to support it and a wide range of ARM Evaluation Boards. UNetICE connects the USB or Ethernet port of a PC to the JTAG interface of the ARM target board and allows flash programming and de...


Atmel 328 ext. interupts

Started by Hul Tytus in comp.arch.embedded6 years ago

comp.arch.embedded Atmel 328 external interupts I'm debugging an Atmel AVR 328 that won't generate an external #0 interupt. At present, the...

comp.arch.embedded Atmel 328 external interupts I'm debugging an Atmel AVR 328 that won't generate an external #0 interupt. At present, the timer1 is generating an overflow interupt as would be expected. The input for the #0 ext. interupt (pin 4, d port #2) has been set to generate a mimic signal on another pin, which worked well. The setup for interupt 0 is: ldi areg, 2 ; extern...



Memfault Beyond the Launch