Dell VEP/VMWare Edge/Velo Cloud SD-WAN/VeraCloud VEP1400/VEP1400-X firewall units

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.
The CPLD is vep1400x_cpld_versa_transfr_v18_2023_0424.vme (vep1400x_cpld_gris_transfr_v2a_2023_0410.vme). The variations are mostly related to whatever board and build ID the device is, which is why it's important to let the updater read the board data and select the correct XML, and then let the correct XML find the correct CPLD to load. If it loads the wrong one, it will reconfigure the ports in a way that makes it not accessible from the C3000.

They didn't lock the CPLD and you can actually read and write it using the official tools (there's even a Docker container for it so you don't end up spraying gigabytes or random crap all over your OS). The VMEs are essentially bitstreams and you can load them as long as they match the CPLD family.

The way they integrate it seems to be mostly about managing the switch chips and NIC sideband channels, as well as the LEDs so they don't have to be controlled from software.

The header on the PCB is almost always populated, they're are 2 DIP-switches as well, don't remember which one but they can be used to disconnect the CPLD from the rest of the board so you can ISP it.

Another edit: the bottom of the ID will show the board ID (but not always the variant): [VEP1400-X] Board ID : 0x0a
What's great about this is that the packages are provided at that level, including most if not all possible variants; so a VEP1400-X package should always be able to flash the entire set of firmwares (UEFI, PIC, CPLD).

The biggest differences will be in the installed/available devices and how the PIC and CPLD are configured as they have slight differences between VersaOS, VeloCloud, VMWare etc. Since we have some dumps of the normal OS runtimes and they (somewhat dirty) just put most of their I2C startup code in rc.local we know what addresses to talk to for which function, same as the XMLs that tend to have the correct pin configuration depending on the installed payload.

The other firmwares in the package are usually not really critical to the main board and are mostly about SSD controller firmwares etc.
 
Last edited:
Could someone give me a few pointers what kind of software I need for the CH341A to flash the CPLD (preferably on Linux)? Also I’d like to be certain which header to connect to. I have tried the in-band method of updating the CPLD but it runs up against the same error because it can’t see the CPLD (in the way it wants to at least).
 
Could someone give me a few pointers what kind of software I need for the CH341A to flash the CPLD (preferably on Linux)? Also I’d like to be certain which header to connect to. I have tried the in-band method of updating the CPLD but it runs up against the same error because it can’t see the CPLD (in the way it wants to at least).


The header is a dedicated ISPDownload header that works with Diamond (Free) and most FT2232H boards. IIRC it's all just JTAG but you can use any MPSSE type engine, doesn't need a segger or lattice device.

If you don't want Diamond spreading all over your OS, you can get a Dockerized version from examples like these: GitHub - Gekkio/docker-fpga: Dockerized FPGA toolchain experiments
 
@oneplane sorry for so many questions. Would something like this FT2232H board work? Also what's the pinout of the JTAG and which pins should I use on the FT2232H? This is my first time not dealing with just simple serial headers so I'm a little lost.
 
@oneplane sorry for so many questions. Would something like this FT2232H board work? Also what's the pinout of the JTAG and which pins should I use on the FT2232H? This is my first time not dealing with just simple serial headers so I'm a little lost.
Yeah that will probably work fine like any of the other USB JTAG adapters. I think the biggest thing about most of them is using one of the standard FTDI chips so the Lattice software treats it like an official FPGA/CLPD JTAG cable. I used this one: TIAO USB Multi-Protocol Adapter (TUMPA) — PlatformIO latest documentation but I'm not sure where they are sold at this point. They are all just reference designs from FTDI anyway so whatever you can find that is easy for you to use will work.

The header is a standard JTAG pinout so that's easy enough. Also, if you're unsure there's a JTAG detector program where you plug in the FTDI chip and run it to find out the correct pinout (i.e. GitHub - szymonh/JTAGscan: Identify JTAG ports using your favorite Arduino. ).

1761684785216.jpeg
 
Last edited:
  • Like
Reactions: abq
Yeah that will probably work fine like any of the other USB JTAG adapters. I think the biggest thing about most of them is using one of the standard FTDI chips so the Lattice software treats it like an official FPGA/CLPD JTAG cable. I used this one: TIAO USB Multi-Protocol Adapter (TUMPA) — PlatformIO latest documentation but I'm not sure where they are sold at this point. They are all just reference designs from FTDI anyway so whatever you can find that is easy for you to use will work.

The header is a standard JTAG pinout so that's easy enough. Also, if you're unsure there's a JTAG detector program where you plug in the FTDI chip and run it to find out the correct pinout (i.e. GitHub - szymonh/JTAGscan: Identify JTAG ports using your favorite Arduino. ).
I've found some time to do experimentation on this. I have the FT2232H connected (and I think recognized in Lattice Diamond). I've tried to connect it to the board in this manner:
* Pin 5 (not the pin with the white dot but the one next to it) = GND
* Pin 3 = BDBUS2 = TDO/DI = FSDO
* Pin 6 = BDBUS1 = TDI/DO = FSCLK
* Pin 7 = BDBUS0 = TCK/SK = FSDI
Let me know if that looks correct or if I have that all wrong.

I'm also having issues with the Lattice Diamond Programmer on Linux (getting a "Failed to Open FTDI USB port", which some people fix with unloading ftdi_sio driver but that doesn't seem to work). I'll try this on a Windows PC as I've seen people have more luck with that. I bet doing this on NixOS is adding unnecessary issues to this as well.
 
  • Like
Reactions: oneplane and nmpu
Ok I'm at my wits end. I've tried to connect the FT2232H to both headers (both the 1x8 and the 2x4) in every which way and all I'm getting from the Lattice Diamond Programmer is "Failed to scan board". @oneplane where am I going wrong?
 
Last edited:
Ok I'm at my wits end. I've tried to connect the FT2232H to both headers (both the 1x8 and the 2x4) in every which way and all I'm getting from the Lattice Diamond Programmer is "Failed to scan board". @oneplane where am I going wrong?

So I thought I'd at least confirm the JTAG pinout. I downloaded the datasheet for LCMXO2-1200HC, but there's no pinout. Apparently, the pinout can be generated from the Lattice software. You can't download the software without an account. I can't reset my password from years ago because they claim I have no account. I can't create an account because they rightly claim my e-mail is already registered. If they can't fix it, then I'll just use a different e-mail. I have an FT2232HL-based ESP-Prog that I purchased back in 2020. Have you verified the voltage? The CPLD can operate at either 2.5V or 3.3V. My JTAG interface only has options for 3.3V or 5V. The FT2232HL natively supports 1.8V and 3.3V (5V tolerant) I/O. The ESp-Prog does include a 74AHC125BQ buffer.
 
I remember one of the pins needing to be pulled up or down to select the TAP, I have a breadboard with 3 wires and a resistor, probably some voltage divider. I sadly don't have enough time this week to rebuild my test setup, but I did find a project box with a VEP1400, TUMPA and I also still have the docker image in my local cache on a Debian box, so this should be easy enough to setup again (if life stops eating all my time).
 
  • Like
Reactions: abq
I tried 10gtek and 6com's 10Gbase-T/RJ45 SFP+ module, connecting to Sonic's XGS-PON terminal's 10G RJ45 port. The 10g link keep going up and down. This is with bare metal openwrt 24.10.4, I even tried to compile the out-of-tree intel 6.2.6 ixgbe driver, same behavior. If I connect either RJ45 module to a 2.5G port, everything seems to be fine. I'm wondering if this is a power issue or something else? If it's a power supply issue, will switching to a lower power broadcom chip 10Gbase-T module (<2w) be better than the 10Gtek/6com's AQR113 10GBase-T module (2.5-3W)?

According to Arista Community, there is no 10GBase-T module that's officially compatible with the 6x0, only SR/LR/DAC.

Anyone run 10GBase-T successfully on 6x0?
 
I tried 10gtek and 6com's 10Gbase-T/RJ45 SFP+ module, connecting to Sonic's XGS-PON terminal's 10G RJ45 port. The 10g link keep going up and down. This is with bare metal openwrt 24.10.4, I even tried to compile the out-of-tree intel 6.2.6 ixgbe driver, same behavior. If I connect either RJ45 module to a 2.5G port, everything seems to be fine. I'm wondering if this is a power issue or something else? If it's a power supply issue, will switching to a lower power broadcom chip 10Gbase-T module (<2w) be better than the 10Gtek/6com's AQR113 10GBase-T module (2.5-3W)?

According to Arista Community, there is no 10GBase-T module that's officially compatible with the 6x0, only SR/LR/DAC.

Anyone run 10GBase-T successfully on 6x0?
I don't have one of these particular boxes, but I have successfully used a 10GBASE-T transceiver without stability issues in my Atom C3758 based Qotom mini PC, despite the Intel X553 NIC not officially supporting 10GBASE-T transceivers. :)

All the transceivers I've confirmed to work were based on the low power Broadcom chip found in some, but not all, 80 and 100 meter rated 10GBASE-T transceivers. They all report themselves as being 10GBASE-SR transceivers for compatibility reasons. I've recently heard that at least some manufacturers are replacing the Broadcom chip with some Marvell chip due to shortages, so you'd have to confirm the chip used with the seller before buying one.
 
For anyone following this thread, I'm going to put a bunch of VEP1445 / VEP1485 for sale in the STH for sale forums. Really great price, I have over 100 of the 1445 and ~40 of the 1485. All accessories included, brackets available (included free with 2 units) and 6 month wty. These units don't need the watchdog disabled, the BIOS password is known and included, and they are good to go for reuse.
 
For anyone following this thread, I'm going to put a bunch of VEP1445 / VEP1485 for sale in the STH for sale forums. Really great price, I have over 100 of the 1445 and ~40 of the 1485. All accessories included, brackets available (included free with 2 units) and 6 month wty. These units don't need the watchdog disabled, the BIOS password is known and included, and they are good to go for reuse.

The power supply and warranty (terms?) are nice, but I suspect your prices will be high. You may have a captive audience on reddit, but the STH regulars know their options.
 
Last edited:
  • Like
Reactions: abq
The power supply and warranty (terms?) are nice, but I suspect your prices will be high. You may have a captive audience on reddit, but the STH regulars know their options.

Thanks, I thought the prices were pretty good, they've sold pretty steadily so far. I don't see any lower prices on eBay, except for some listings that don't come with the power supply.

Warranty terms are pretty typical, any hardware failure is covered by replacement or money back. I would think that including the locking power supply would be valuable vs trying to buy it elsewhere or getting a matching generic barrel power supply?
 
Thanks, I thought the prices were pretty good, they've sold pretty steadily so far.

Wow, I guess I need to sell some from my stash.

I don't see any lower prices on eBay, except for some listings that don't come with the power supply.

Many recycler types will accept much less than the BIN price. If you look at the sold listings, almost all have 'best offer' enabled. Some of those sold listings were purchased by me at 10% of the BIN price. eBay hides that information.

I assume you know about the equivalent white-case VMware models? The Edge 640 is a VEP1445 with an extra 16GB DRAM. The Edge 680 should be the same as the VEP1485. The 640/680 models are far more common-- at least in the US.

This link will eventually expire, but here's a recent example. I did not buy these-- too expensive: 2x Edge 640 with rack, no power supply
2xEdge640+rack.png

This was my personal best. Unit checked out fine.
cheap640.png


I would think that including the locking power supply would be valuable vs trying to buy it elsewhere or getting a matching generic barrel power supply?

Yes, the locking plug is a novelty, but it's still a standard jack. Maybe $10~$20 for a (quality) compatible power supply. That's something that many of us here already have stockpiled. In fact, I use a 12V feed from a larger PS in my cabinet.

You didn't include (closeup) photos of the actual labels. According to the datasheet, all of your units should have come with a 240GB (likely 256GB) SATA SSD. What happened there? Did you remove the drives? If so, did you repaste the CPU before reassembly?
 
Last edited:
While they are available in the US, it's expensive to buy when in the EU, the CAN option is pretty attractive.
 
I may have US blinders on. How do the shipping and taxes differ when originating from Canada vs US? Also, how does the total cost compare to other available mini PCs?
The US is one of the most expensive places to order from at this point; we have the option to buy from the UK which is cheaper to import but slightly higher priced; Canada is almost as fast and cheap but much lower pricing. Cheapest is within the EU, next up would be China which also delivers faster than the US.

Mini-PC options are somewhat limited; ODM/OEM hardware is easiest, aliexpress is next, local refurb (rather limited), and then import from non-US, and finally import from US.

Getting a VEP1400 from the US from eBay right now is essentially going to cost about 150 on top of whatever the list price is.

The US used to be cheaper than Canada from an import and shipping perspective, but that's gone now.
 
I don't have one of these particular boxes, but I have successfully used a 10GBASE-T transceiver without stability issues in my Atom C3758 based Qotom mini PC, despite the Intel X553 NIC not officially supporting 10GBASE-T transceivers. :)

All the transceivers I've confirmed to work were based on the low power Broadcom chip found in some, but not all, 80 and 100 meter rated 10GBASE-T transceivers. They all report themselves as being 10GBASE-SR transceivers for compatibility reasons. I've recently heard that at least some manufacturers are replacing the Broadcom chip with some Marvell chip due to shortages, so you'd have to confirm the chip used with the seller before buying one.

I tried the broadcom's low power chip transceivers, those are marked -80 meters 10GBase-T, and it still exhibits the same problem of as the 30 meter transceivers, link goes up and down repeatedly when connecting to the Sonic's XGS-PON terminal's 10G RJ45 port.