When i try run mesa_uart or mesa_pktgyro_test in halcmd, terminal
shows me "*undefined
symbol: hm2_uart_read" or " undefind symbol: hm2_pktuart_send" *. Any idea
why do this happen?

2018-03-10 11:55 GMT+07:00 Thắng Lê <lethang12...@gmail.com>:

> i'm stucked at uarts because i dont really understand how UART work , i
> see there are many files like mesa_uart.c, mesa_uart.comp, uart.c,
> pktuart.c, I guess uart.c and pktuart.c contains uart's functions and
> mesa_uart.comp or mesa_pktgyro_test.comp will use these functions so i just
> need creat a component like mesa_uart.comp or mesa_pktgyro_test.comp.
>
> I made a bitfile for UART, in xilinx it's name "work.PIN_UA2_34.all"
> (there are many firmware pktuart and uart in librarybut i cant make bitfile
> for 5i25, also see two line *work.PIN_7i74_PKT_34.all* and  
> *work.PIN_7i74x2_PKT_34.all
> *in TopPCIHosMot2.vhd but there is no file in library therefore i cant
> use ptkuart too) . If i use this firmware   "work.PIN_UA2_34.all" , do i
> need to modify something on it before make bitfile?
>
>
>
>
>
>
> 2018-03-09 23:12 GMT+07:00 Thắng Lê <lethang12...@gmail.com>:
>
>> sorry, my abs_encoder is 15 bit type, showing at page 56 (63 is pdf
>> page), it hasn't phase S.
>>
>> The problem is phase A has 2 functions, send serial data and incremental
>> pulses so i think i will connect it to 1 UART port and 1 encoder counter
>> port, after receive serial data, i will reset counter. Seem there is not
>> 5i25 firmware support both function so i think i have to make one.
>>
>> I will try use UART to get first serial data output.
>>
>>
>> 2018-03-09 4:35 GMT+07:00 andy pugh <bodge...@gmail.com>:
>>
>>> On 8 March 2018 at 09:39, Thắng Lê <lethang12...@gmail.com> wrote:
>>>
>>> > +  Writing a firmware file absyaskawa.vhd with VHDL language then add
>>> in
>>> > xilinx library so i can flash new firmware for my mesa card (i'm very
>>> new
>>> > with FPGA,i need to learn VHDL first).
>>>
>>> You might not need to do this.
>>>
>>> It looks like the absolute data is available on the S channel as
>>> simple serial data.
>>>
>>> So you might be able to use the Mesa UART or PktUART Hostmot2 modules.
>>>
>>> You would need a simple HAL component to interpret the data. This
>>> would output the various fault bits and add the start-up offset to the
>>> output of a conventional encoder module.
>>>
>>> Here is a HAL driver that uses the pktUART Hostmot2 component. (Note
>>> that there is a typo in the line where is says "loadrt mesa_uart...".
>>> For that HAL component it should be "loadrt mesa_pktgyro_test...."
>>>
>>> As the data is ASCII coded the HAL component would need to change that
>>> to floating point engineering units.
>>>
>>> --
>>> atp
>>> "A motorcycle is a bicycle with a pandemonium attachment and is
>>> designed for the especial use of mechanical geniuses, daredevils and
>>> lunatics."
>>> — George Fitch, Atlanta Constitution Newspaper, 1916
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Emc-developers mailing list
>>> Emc-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>>
>>
>>
>>
>> --
>> Lê Thắng
>> Phone: (+84) 1222443855
>> Email: lethang12...@gmail.com
>>
>
>
>
> --
> Lê Thắng
> Phone: (+84) 1222443855
> Email: lethang12...@gmail.com
>



-- 
Lê Thắng
Phone: (+84) 1222443855
Email: lethang12...@gmail.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to