• Content Count

  • Joined

  • Last visited

About Zorroslade000

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I followed the example for the spi srec loader. My vhdl/hardware design has many peripherals. The https://reference.digilentinc.com/learn/programmable-logic/tutorials/htsspisf/start example implies the same hardware design. Could a smaller hardware design (footprint) be implemented for the bootloader? Or is the same hardware design is used for all microblaze apps? Rob
  2. Thx for the response. I would like to cast u32* on non 4 byte boundaries. For example, I have a binary stream: address 0x12 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0 100000 0x22 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0 100008 0x32 0x34 0x56 0x78 0x9A 0xBC 0xDE 0xF0 100010 Lets say address 100000 is u8 and address 100001 (not 4 byte aligned) starts a u32. u8 *ptr = (points to 0x12 in address 100000); u32 *pUns = (u32 *)(ptr + 1); Since the u32 is not 4 byte aligned the cast does not provide, *pUns == 0x9A785634 (little endian). It provides 0x78563412 and is not correct. Is there an option to make non 4 byte aligned casts work? Most compilers/arch have this functionality. Rob
  3. I am trying to cast a u32* to u8*. This only works correctly if the u8* is on 4 byte boundary. For example, u32 num = 0x01020304; u8 *ptr = # u32 *pUn0 = (u32 *)(ptr + 0); u32 *pUn1 = (u32 *)(ptr + 1); u32 *pUn2 = (u32 *)(ptr + 2); pUn0 = pUn1 = pUn2, This is not the desired behavior. gcc has some Microblaze options but nothing that relates to this. Is there a compiler option, pragma, etc that could modify this behavior? Or is there an option in the Vivado Block Design, I could change? Thx
  4. HI, I would like to read/write communication to VHDL from within the Microblaze (interrupt is desireable but not necessary). Is there an axi peripheral available for this? I looked but nothing seems obvious. Rob
  5. Thx, That seems to work. Also, now I know where the examples are. Rob
  6. Hi, Thx for the response. I do have the usb-lite from the https://reference.digilentinc.com/vivado/getting-started-with-ipi/start connected (for debug). I want to add more uarts as communication buses. Currently, i don't want to use the pmod module. I just want the rs232 signals at the JA connector (it can be any of the JX connectors). Rob
  7. I am new to fpgas and Vivado. I am using the Arty A7-35T. I would like to do is connect a UART to the JA. I am trying to follow this example (https://reference.digilentinc.com/reference/pmod/pmodrs232/start) I have added the "X-Board VHDL Example", and it adds Rs232RefComp. I don't know how to connect the RxD and TxD to the pmod connector. Also, an explanation on how to use this would be helpful. Rob