EmbeddedRelated.com

How to use same structure for two different platforms?

Started by janii in comp.arch.embedded13 years ago 3 replies

We program Freescale PowerPC Microcontrollers in 'C' language. Following structure declared by lower layer library is as follows: It...

We program Freescale PowerPC Microcontrollers in 'C' language. Following structure declared by lower layer library is as follows: It is instantiated by top layer application. A pointer to this structure is passed to lower layer library functions. typedef struct { /* Initialization Function */ void (*fc_init) (alg_work_t *work, alg_cfg_t *config); /* Main Function */ v...


Experience with Xilinx Microblaze kit?

Started by larwe in comp.arch.embedded18 years ago 11 replies

I've been asked to write a couple of real-life up-and-running articles about working with the Xilinx PPC/Microblaze kit (ML403 board) consisting...

I've been asked to write a couple of real-life up-and-running articles about working with the Xilinx PPC/Microblaze kit (ML403 board) consisting of a meaty FPGA with PowerPC 405 hard core. I'll have a loaner kit with the option to buy. Has anyone here worked with this kit? The documentation is a bit vague about what exactly comes with the board, software-wise. Specifically: They talk about...


Driver function to clear ARP entries?

Started by Washington Ratso in comp.arch.embedded15 years ago 9 replies

Is there a function that can be called in a Linux network device driver that can clear the ARP entries for a particular interface? I am running...

Is there a function that can be called in a Linux network device driver that can clear the ARP entries for a particular interface? I am running Linux 2.6.26 for powerpc.


Kernel image size

Started by Nobby Anderson in comp.arch.embedded15 years ago 6 replies

I've recently upgraded a ppc405 build for a Virtex 4 device from kernel 2.6.15 (arch/ppc) to 2.6.31 (arch/powerpc) and the size of the image has...

I've recently upgraded a ppc405 build for a Virtex 4 device from kernel 2.6.15 (arch/ppc) to 2.6.31 (arch/powerpc) and the size of the image has increased from about 900k to 1.4M. As far as I can tell I've pretty much the same config options set. The 2.6.15 kernel was straight from the kernel mainline with some xilinx drivers hacked in, the .31 is straight from git.xilinx.com with nothing ...


Embedded CPU.

Started by NickNitro in comp.arch.embedded17 years ago 17 replies

Hi, When a company chooses a CPU to be embedded, why are the typical choices PowerPC, ARM etc... Why not something like an AMD Athlon. On...

Hi, When a company chooses a CPU to be embedded, why are the typical choices PowerPC, ARM etc... Why not something like an AMD Athlon. On a similar vein to AMD processors, they seem to have embedded processors and the general consumer processors, why the difference? Finally, getting hold of the general CPUs is not an issue they're available everywhere, but how can a hobbyist get hold of a ...


Debugger question

Started by Tom in comp.arch.embedded20 years ago 1 reply

Hi, when using the powerpc-eabi-gdb debugger. To set breakpoints, gdb uses memory read and write commands to nondestructively replace a...

Hi, when using the powerpc-eabi-gdb debugger. To set breakpoints, gdb uses memory read and write commands to nondestructively replace a source instruction with a trap instruction. If you replace a source instruction, isn't the memory at that moment changing ? So are the memory locations in that case still correct ? Tom


Microcontroller Vs Microprocessor for RTOS

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

Dear all, I am just curious to know why almost all commercial popular RTOS like RTLINUX,Vxworks work mainly on Micro processor instead...

Dear all, I am just curious to know why almost all commercial popular RTOS like RTLINUX,Vxworks work mainly on Micro processor instead of Microcontrollers? AFAIK,I have seen Vxworks work on Boards like Intel x86,powerpc,ARM and all mentioned processor boards instead of real microcontrollers like 8051,68HC series from motorola and so. Why do RTOS prefer microprocessors as compared to microco...


Can't Flash MPC8343 Power PC using VisionClick

Started by Lee in comp.arch.embedded16 years ago

Hey Guys, I want to flash my MPC8343 Target (Freescale 8343 PowerPC by Embeddedplanet.com. I´m Using Windriver VisionClick and a Pobe JTAG to...

Hey Guys, I want to flash my MPC8343 Target (Freescale 8343 PowerPC by Embeddedplanet.com. I´m Using Windriver VisionClick and a Pobe JTAG to write U-Boot on my Target. So i connect the target and enter BKM Mode. Everytime i try to flash, the system answers " ERROR CANNOT LOAD ALGORITHM AT ADRESS XXXXXXXXX". So i tried some new adresses but it dosent work. i think i cant write into ram ...


Looking for controller, operating system, and network stack for an embedded system

Started by Neil Bradley in comp.arch.embedded20 years ago 2 replies

I'm working on a project at work that requires a new controller, operating system, a network stack, and a myriad of services (ssh, telnet,...

I'm working on a project at work that requires a new controller, operating system, a network stack, and a myriad of services (ssh, telnet, web, etc...). My desires are as follows: * 200-600Mhz operation (e.g. PowerPC 440EP and ARM XScale) * Instruction cache desirable * As many GPIOs as possible * At least 1 I2C bus * Ethernet * At least 16Mb of externally addressable address space * SD...


how to force PowerPC HW exceptions (for testing)?

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

I have been able to successfully force a 0x0300 Data Storage exception (write to a bad address) and a 0x0400 Instruction Storage...

I have been able to successfully force a 0x0300 Data Storage exception (write to a bad address) and a 0x0400 Instruction Storage exception. Any ideas for generating some of the other exceptions (excluding 0x0500 External interrupt which of course is the expected interrupt). This is for unit testing a module that traps these exceptions. Can a instruction simulator be used for this somehow?...


What is debugging information?

Started by jani in comp.arch.embedded17 years ago 1 reply

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. ...

I work on PowerPC based Embedded Systems. Programming language is C. Cross compiler is Diab 4.2b. FYI, Windriver has purchased Diab. Along with the compiler comes a utility called ddump. This utility has the following syntax. ddump [command] file I invoke this utility as follows: ddump -D filename.elf I believe .elf stands for executable linking format. Anyways, this command means ...


PowerPC MPC5200B, changing mode to run in little endian

Started by Taran in comp.arch.embedded17 years ago 1 reply

Hi, We are using Lite5200B eval board, out software is compiled using the Windriver diab 5.3.1.0 with the 5200B patch. We are using...

Hi, We are using Lite5200B eval board, out software is compiled using the Windriver diab 5.3.1.0 with the 5200B patch. We are using the WindRiver ICE for downloading the executable to the board and stepping through. We have our software with the MPC5200B running in default big endian mode. Because the PCI bus is little endian mode we are evaluating the impact on software if we switch th...


Macraigor's GNU tools (ocdremote), OCDemon RAVEN & PowerPC target running on native Linux?

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

Hello, has anyone ever got this combination work on a native Linux box? Their Windows (cygwin) stuff on the other hand works very nicely. I...

Hello, has anyone ever got this combination work on a native Linux box? Their Windows (cygwin) stuff on the other hand works very nicely. I prepared an old Linux RedHat 9.0 (2.4.20 kernel) distribution (on the very same machine where the Windows version of ocdremote works perfectly), so that their proprietary driver "ravenpp" would compile. The kernel modul loads, but after I run: oc...


Which controllers are used most in display clusters application??

Started by Jalon in comp.arch.embedded15 years ago 1 reply

Hi, We want to decide about a development board for building Automotive Display Clusters(Dash Board) application. Few choices we have are:...

Hi, We want to decide about a development board for building Automotive Display Clusters(Dash Board) application. Few choices we have are: Freescales' Total5200 (PowerPc), Freescales' iMx35 series (Arm core), STMicroelectronics SPC560S60 (Arm Core). We have a prior experience working with PowerPcs. We would want to go for one which has the highest market usage in automotive industry fo...


USB data or audio capture on 64-bit PPC Linux?

Started by larwe in comp.arch.embedded17 years ago 14 replies

[If you are trimming followups, please put your reply into comp.arch.embedded as I don't regularly read the other two NGs where I've posted...

[If you are trimming followups, please put your reply into comp.arch.embedded as I don't regularly read the other two NGs where I've posted this]. I'm looking for recommendations on a USB data capture pod or (ideally) a cheap audio input device that is known to have working driver support for 64-bit PowerPC Linux. At minimum I need to capture one 10- bit ADC channel at 22.1kHz; anything fr...


x86 architecture concepts

Started by Mouarf in comp.arch.embedded19 years ago 72 replies

hello all, could someone give me a good link on a page that describes the x86 architecture main concepts and why it is so different from...

hello all, could someone give me a good link on a page that describes the x86 architecture main concepts and why it is so different from other architecture like ARM, PowerPC, alpha....? What are the main markets these architecture target to? If you also could give me a good link to these architectures too I would be really pleased. Thanks.


linux booting issue

Started by patwardhan in comp.arch.embedded14 years ago 2 replies

Hi, I am trying to boot linux-2.6.25 on mpc837x board using u-boot. but linux hangs with following message. Please help.. bootm...

Hi, I am trying to boot linux-2.6.25 on mpc837x board using u-boot. but linux hangs with following message. Please help.. bootm 0xfc100000 * kernel: cmdline image address = 0xfc100000 ## Booting kernel from Legacy Image at fc100000 ... Image Name: linux-2.6 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2857358 Bytes = 2.7 MB Load ...


Extended assembly in GreenHills compiler

Started by matrix13 in comp.arch.embedded11 years ago 13 replies

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a...

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a syntax error saying a ')' is missing. Now, I am wondering whether the GreenHills compiler does not support Extended Assembly. My intention is to copy the Time Base register value to a C variable and calculate the time elapsed. But, with the above metho...


Serial to crt or vga adapter

Started by test in comp.arch.embedded18 years ago 5 replies

I want to get a small pc104 powerpc board but most have no video or if they do it is in the form of a lcd output. So how am i suppose to output...

I want to get a small pc104 powerpc board but most have no video or if they do it is in the form of a lcd output. So how am i suppose to output the video to a crt screen. I have a special screen that is to my specs and i am forced to use it. It is a vga 640X480 60hz 16color screen and i just want to output some text from a small embedded board. So any suggestions like using a serial to vg...


U-Boot BDI2000 GDB Debug Problem

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

I am trying to debug U-Boot using the BDI2000 and gdb. When I enter "c" for continue, I get "Program received signal SIGSTOP,...

I am trying to debug U-Boot using the BDI2000 and gdb. When I enter "c" for continue, I get "Program received signal SIGSTOP, Stopped (signal)." (see below) Does anyone know what causes this? Thank you. $ /opt/Embedix/tools/bin/powerpc-linux-gdb GNU gdb 5.1.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are we...