Project

General

Profile

Activity

From 01/03/2015 to 02/01/2015

01/30/2015

JM 10:35 PM PCB Development: RE: MityARM-1808F SATA connection problem
The SW developer told me the kernel version is 2.6.34
Does that affect the quality of link?
Jun Mo

01/23/2015

SN 03:21 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
Hi mike
your are rigth. I tried it before the
map= (int *)(mmap(0,MAPPED_SIZE,PROT_READ|PROT_WRITE,MAP_SHARED,_fdmem,DDR_RAM_PHYS));
and forgot to correct it back.. Its working now, thanks alot..
stefan nielsen

01/22/2015

MW 07:32 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
No you don't need ot use SetSharedMemCfg() or SetPoolCfg() if you are not using the tcDspInbound and tcDspOutbound message passing frameworks.
If you look at the dspapp.cpp file in the MDK, you will see the following parameters:
Michael Williamson
SN 03:57 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
Hi
do i need to use
int tcDspApp::SetSharedMemCfg(tsSharedMemCfg* pConfig)
or
int tcDspApp::SetPoolCfg(uint32_t anNumBufPools, uint32_t *apBufSizes,
uint32_t *apNumBuf, bool abExactMatch)
to use the Iram at 0...
stefan nielsen
SN 01:59 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
Hi thanks for the help, I still got some problems with reading on the ARM.
ARM code:
stefan nielsen

01/20/2015

JC 09:31 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
You may find this post helpful for transmitting non-string data using dsplink. https://support.criticallink.com/redmine/boards/10/topics/4178?r=4179#message-4179
Note that the tsData::data_ptr requires tcDspApp::ReadMemory() on the AR...
Jonathan Cormier
MW 09:18 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
DSP code is OK, though if you have the caches enabled for the regions of SRAM or RAM you may need to add a cache write back call to ensure the data is moved to external memory for the ARM to pick up.
-Mike
Michael Williamson
SN 09:05 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
Hi thanks for the quick reply. I found some stuff of how to do it on the ARM side, following the example you pointed out. On the DSP is it okay to write to memory as showed above ?
stefan nielsen
MW 07:33 AM Software Development: RE: Write to SharedMem from DSP and read it from ARM
The linux OS uses virtual memory addresses. You can't access RAM by physical address in the normal case.
You need to use /dev/mem and mmap in the memory you want to access (though it will not be cacheable with this technique). See t...
Michael Williamson
SN 03:25 AM Software Development: Write to SharedMem from DSP and read it from ARM
Hi im trying to write to some shared memory from the DSP and read it back from the ARM. Ive expanded the HelloWorldDSP project, so memory is mapped as in that project. I tried on 4 different memory areas.
DSP code:
stefan nielsen

01/19/2015

MW 07:08 AM PCB Development: RE: MityARM-1808F SATA connection problem
What version of the kernel are you using? Michael Williamson

01/18/2015

JM 11:30 AM PCB Development: RE: MityARM-1808F SATA connection problem
From the kernel boot message, occasionally it failed to link to 3G speed, it linked up to 1.5G, but most of the time if link to 3G failed, it failed totally at all. Even though it linked up at 1.5G, it failed to mount the file system.
...
Jun Mo

01/16/2015

MW 07:24 AM PCB Development: RE: MityARM-1808F SATA connection problem
I am fairly certain that the lengths on the module for the SATA lines are matched. I will check with our PCB designer.
Do your boards ever negotiate to SATA-I speeds instead of SATA-II speeds? You should be able to see the negotiate...
Michael Williamson

01/15/2015

JM 10:36 PM PCB Development: RE: MityARM-1808F SATA connection problem
Thank you for your reply.
The HD is occacionally not attached. And the possibility of attahement depend on the brand of SSD. Intel SSD can be connected most of the time, Kingston has lower possibility on connection, and Samsung has very...
Jun Mo
AD 10:13 AM PCB Development: RE: MityARM-1808F SATA connection problem
Hi Jun Mo,
For layout recommendations, be very careful with the SATA layout. Below are some guidelines to verify before building the PCB:
* Use controlled impedance
* Avoid vias
** Completely avoid them if possible
* If vias ca...
Adam Dziedzic
MW 07:17 AM PCB Development: RE: MityARM-1808F SATA connection problem
Hi,
Is the HD not ever detected, or does it occasionally not attach?
-Mike
Michael Williamson
SK 03:04 AM Software Development: RE: Interrupt source code for DSP
I also got the SW to run. But I have to use the set_vector_enable() function. This function enables the gpio-input interrupt in the base module.
Below you can find my code:
I have changed my address vector to 10 bits.
Stefan Krassin
SN 01:20 AM Software Development: RE: Interrupt source code for DSP
Hi Stefan
i Have two FPGA GPIO cores one at 0x66000080(output) and one at 0x66000100(input). Anyway with some help from Michele Capena i got the above code to run. I just removed this line tcDspFirmware::set_vector_enable(1, 0x0001, T...
stefan nielsen

01/14/2015

JM 09:14 PM PCB Development: MityARM-1808F SATA connection problem
I use MitySOM-1808F to develop our data logging system which store data into a SATA2 SSD HD. We design the mother board by ourselves and all the board have the same problem: the HD can not be recognized every time when the linux boot.
W...
Jun Mo
SK 10:31 AM Software Development: RE: Interrupt source code for DSP
Are you sure that the baseaddress for the input gpio is 0x66000100? How long is your address vector from the EMIFA IF module to the GPIO?
If you didn't change anything the vector should have a size of 6 bits.
That means that your base...
Stefan Krassin
SN 08:04 AM Software Development: RE: Interrupt source code for DSP
Hi
(Are you using the DSP/BIOS MityDSP-L138 Platform.tci file as a template for you BIOS? )
yes im using it, from the HelloWorldDSP example.
(You need to ensure that the BIOS interrupt dispatcher is enabled for the GPIO pins use...
stefan nielsen
MW 07:42 AM Software Development: RE: Interrupt source code for DSP
For the GPIO, you should only use SetISRCallback(). The tcDspFpgaGpio class will call the register_isr_callback() method for you.
Are you using the DSP/BIOS MityDSP-L138 Platform.tci file as a template for you BIOS? You need to ensu...
Michael Williamson
SN 04:25 AM Software Development: RE: Interrupt source code for DSP
Hi again Stefan
im trying to get an FPGA interrupt working on the industrual I/O . ive tried both
mpGpio_input->SetISRCallback and tcDspInterruptDispatch::register_isr_callback but not with any luck.
Im still unsure which one of t...
stefan nielsen
SN 03:39 AM Software Development: RE: Interrupt source code for DSP
Hi Stefan
Have you seen this post "GPIO interrupt in MityOMAP-L138F" it might help you. Im also looking for help with setting up an FPGA gpio interrupt.
/stefan nielsen
stefan nielsen

01/13/2015

OM 04:30 PM Software Development: RE: u-boot problem
Without the serial converter it works.
The board has come to life!
Thank !!!
Oleh Mela
JC 09:25 AM Software Development: RE: u-boot problem
Could you verify that the BOOTME message is sent by the l138 when you power it while holding the boot button? The output above seems to indicate it timed out waiting for the BOOTME message.
Also are you using a usb to serial converter...
Jonathan Cormier
MW 09:21 AM Software Development: RE: u-boot problem
You should not need to do that if you are getting past u-Boot and trying to boot the kernel.
If you are getting any boot text (getting to u-Boot) can you please do the following and capture the text from the console and post it:
1....
Michael Williamson
OM 09:19 AM Software Development: RE: u-boot problem
Unfortunately, does not help. The message of the utility is following:
D:\...\MityDSP\sfh_ubl_072111>sfh_OMAP-L138 -flash -v -p C
OM1 UBL_SPI_MEM.ais u-boot.bin
-----------------------------------------------------
TI Serial Fla...
Oleh Mela
JC 09:01 AM Software Development: RE: u-boot problem
Does this help?
[[Reprogramming a Dead Board]]
Jonathan Cormier
OM 07:44 AM Software Development: RE: u-boot problem
Hi Mike.
After manipulations in accord https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Programming_the_FPGA my board it is not loaded at all.
It is impossible to be connected to her with CCS. On Industrial IO De...
Oleh Mela
MW 07:09 AM Software Development: RE: u-boot problem
Post the complete text and your u-Boot environment.
Typically, this message is because the kernel cannot locate a root filesystem to boot from. Do you have your rootfs environment variable set?
-Mike
Michael Williamson
OM 04:31 AM Software Development: u-boot problem
Hi,
After power on board MityDSP-L138F the download stops with the message " Kernel panic - not syncing: No init found. Try passing init = option to kernel."
How to correct this situation?
Thanks
Oleh Mela

01/12/2015

OM 05:48 AM FPGA Development: RE: FPGA programming
Thank for your reply Mike.
Is it possible to write an image FPGA through СОМ1 on MityDSP? Whether it is possible to make it under Windows?
Oleh
Oleh Mela

01/10/2015

MW 09:17 AM FPGA Development: RE: FPGA programming
Once you have a bit file that you like you can run the promgen tool to create the binary image to load per this wiki page:
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/FPGA_Overview
Once you have a binary i...
Michael Williamson
OM 09:10 AM FPGA Development: FPGA programming
Hi,
I have board L138-FI-236-RL.
Developed in Xilinx ISE the design fine works on FPGA at use ISE iMPACT.
Please, tell a step-by-step how to create an image for FPGA and how to provide working of the design at power off/power on.
...
Oleh Mela

01/09/2015

SN 05:48 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
Thank you, you where spot, it solved the issue with only having one pin high at a time.
The following works
mpGpio->SetPinValue(0,0,1); //pin7
mpGpio->SetPinValue(0,1,1); //pin15
if i use
mpGpio->WritePins(0,0xFFFF,1); //al...
stefan nielsen

01/08/2015

MW 09:18 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
Also, you should not be calling the destructor. This line is not OK: Michael Williamson
MW 08:29 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
The driver could be rewritten to contain a shadow mask of the desired output register, but that is not the current implementation.
-Mike
Michael Williamson
MW 08:28 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
The code for the DSP GPIO control does a read modify write. It Reads the input state of the entire bank, masks the value you are trying to change into the register, and writes the register back out.
If, in your VHDL, you do not conne...
Michael Williamson
SN 08:04 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
Not sure what you mean with input ?,
both are mapped in the VHDL code as output. and set as output with SetPinDirection()
I can set both pin high, only not at the same time.
stefan nielsen
MW 07:52 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
Do you have the inputs of the GPIO core for offsets 0 and 1 connected in you FPGA design?
Michael Williamson
SN 04:22 AM Software Development: RE: Simple Code/Doc for FPGA toggle of GPIO from DSP
Hi
If i want to toggle both pin 7 and pin 15 at the same time i have an issue (both work independently). Pin 7 goes high, but as soon an i write to pin 15 it goes low again. I tried with mpGpio->WritePins(0,0x3,1)/mpGpio->WritePins(0,...
stefan nielsen
SK 08:29 AM Software Development: Interrupt source code for DSP
Hi All,
I try to figure out how to serve an interrupt in the DSP code and how to register an ISR for a FPGA interrupt.
How can I register an interrupt system in the DSP code (interrupt from FPGA --> execute ISR)? Could anyone provide...
Stefan Krassin

01/05/2015

FA 07:08 PM FPGA Development: RE: Programming the FPGA
Hi
What was the solution to the last problem (add source error)? I get the same warning when trying to add pwm.ngc etc into a lx45 project.
thanks, Flemming
Flemming Abrahamsen
 

Also available in: Atom